toWebGL | R Documentation |
Convert trace types to WebGL
toWebGL(p)
p |
a plotly or ggplot object. |
# currently no bargl trace type
toWebGL(ggplot() + geom_bar(aes(1:10)))
toWebGL(qplot(1:10, 1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.