ggplotPlotly | R Documentation |
Translate 'ggplot2' graphs to an interactive plotly version
ggplotPlotly(g, width = NULL, height = NULL, textposition = "right")
g |
The ggplot2 graph object to be translated into an interactive plotly version |
width |
Width of the plot in pixels (optional, defaults to automatic sizing). |
height |
Height of the plot in pixels (optional, defaults to automatic sizing) |
textposition |
Position of the labels on the graphs relative to the points. Possible values are : 'right', 'left', 'top' or 'buttom' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.