Plotly ggplot2 Library

Publish your ggplot2 figures to the web with one line!

library(plotly)

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

py <- plotly()
py$ggplotly()

Want to see a feature added to the library? Get in touch! We'd love to hear your ideas.

Documentation Examples

Chart Types

Interactive Embedding