Examples for 'plotly::add_data'


Add data to a plotly visualization

Aliases: add_data

Keywords:

### ** Examples


plot_ly() %>% add_data(economics) %>% add_trace(x = ~date, y = ~pce)
No trace type specified:
  Based on info supplied, a 'scatter' trace seems appropriate.
  Read more about this trace type -> https://plotly.com/r/reference/#scatter
No scatter mode specifed:
  Setting the mode to markers
  Read more about this attribute -> https://plotly.com/r/reference/#scatter-mode
Error in loadNamespace(name): there is no package called 'webshot'

[Package plotly version 4.10.0 Index]