powered by
Add data to a plotly visualization
add_data(p, data = NULL)
a plotly visualization
a data frame.
plot_ly() %>% add_data(economics) %>% add_trace(x = ~date, y = ~pce)
Run the code above in your browser using DataLab