Hi, the last cell in the demo notebook on https://rnotebook.io/
does not work. It produces errors:
No trace type specified:
Based on info supplied, a 'scatter' trace seems appropriate.
Read more about this trace type -> https://plot.ly/r/reference/#scatter
No scatter mode specifed:
Setting the mode to markers
Read more about this attribute -> https://plot.ly/r/reference/#scatter-mode
The following is the correct cell content:
library(plotly)
set.seed(100)
d <- diamonds[sample(nrow(diamonds), 1000), ]
p <- plot_ly(d, x = ~carat, y = ~price, color = ~carat,
size = ~carat, text = ~paste("Clarity: ", clarity),
type="scatter", mode="markers")
embed_notebook(p)
Hi, the last cell in the demo notebook on https://rnotebook.io/ does not work. It produces errors:
The following is the correct cell content:
Yours, Steffen