1/17/2020

Overview

  • Data is sourced from the airmiles package already loaded in R
  • Chart created using the plotly package
  • Slide presentation created using RMarkdown document in RStudio

R Code

library(plotly)
data("airmiles")
plot_ly(x= time(airmiles), y = airmiles, type ='scatter', mode = 'lines')

Plot

## Warning: package 'plotly' was built under R version 3.6.2