Often we want to export a SVG htmlwidget as a static PNG. This little helper widget will add a button on your widget to perform this export task.
1 | export_widget(selector = NULL, width = 0, height = 0)
|
selector |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.