Get started

To ensure plotly is installed correctly, try loading the package and creating this example by pasting the code inside your R console.

plot_ly(z = ~volcano)

plotly uses the htmlwidget framework, which allows plots to work seamlessly and consistently in various contexts (e.g., R Markdown documents, shiny apps, inside RStudio, or any other R command prompt) without an internet connection. IPython/Jupyter notebook users should wrap plots with the embed_notebook() function to embed them inline inside a notebook.