library(XML)
doc = newXMLDoc()
newXMLNode("svg", doc = doc)
tmp = newXMLPINode("xml-stylesheet", 'href="foo.css"')
xmlRoot(doc)
addSibling(xmlRoot(doc), tmp, after = FALSE)
doc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.