Responds to an HTTP request with SVG data from a given SVG file
1 | respondSVG(svgFile, filename = "image.svg", download = FALSE)
|
svgFile |
the name of a file containing the binary data |
filename |
the filename to be used in the HTTP header. Defaults to image.svg |
download |
whether or not to treat this as a download. Defaults to FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.