Plotly ggplot2 Library

Publish your ggplot2 figures to the web with one line!


dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
qplot(carat, price, data=dsamp, colour=clarity)

py <- plotly()


Want to see a feature added to the library? Write to or submit an issue on rOpenSci. We'd love to hear your ideas.

See the ggplot2 → plotly test tables for current ggplot2 conversion coverage.

Documentation Examples

Basic Charts

Get Requests, Static Image Export, and Interactive Embedding