Description Usage Arguments Examples
Add data to a plotly visualization
1
add_data(p, data = NULL)
p
a plotly visualization
data
a data frame.
plot_ly() %>% add_data(economics) %>% add_trace(x = ~date, y = ~pce)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.