Embedding Graphs in HTML in ggplot2

How to embed plotly graphs with an iframe in HTML.


New to Plotly?

Plotly is a free and open-source graphing library for R. We recommend you read our Getting Started guide for the latest installation or upgrade instructions, then move on to our Plotly Fundamentals tutorials or dive straight in to some Basic Charts tutorials.

For more on embedding Plotly graphs in HTML documents, see our tutorial.