## use a file in a temporary directory
someFile <- file.path(tempdir(),"network.cx")
## Write RCX to a file
write.rcx(rcx, someFile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.