Description Usage Arguments Examples
This function is useful for obtaining/viewing/debugging JSON sent to plotly.js.
1 | plotly_json(p = plot_ly(), jsonedit = interactive(), ...)
|
p |
a plotly or ggplot object. |
jsonedit |
use |
... |
other options passed onto |
1 2 3 |
plotly_json(plot_ly())
plotly_json(plot_ly(), FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.