Presentation Using R Markdown and Plot Creation With Plotly

Reza Rahimi

July 23, 2017

R Graphing Library | Plotly

Plotly’s R graphing library makes interactive, publication-quality graphs online. Examples of how to make line plots, scatter plots, area charts, bar charts, error bars, box plots, histograms, heatmaps, subplots, multiple-axes, and 3D (WebGL based) charts.

Midwest Collge Stats

library(plotly)
## Warning: package 'plotly' was built under R version 3.4.1
p <- plot_ly(midwest, x = ~percollege, color = ~state, type = "box")
p