14/09/2020

Task

  • Create a web page presentation using R Markdown that features a plot created with Plotly
  • Host your webpage on either GitHub Pages, RPubs, or NeoCities
  • Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly

Assessment Criteria

  1. Does the web page feature a date and is this date less than two months before the date that you’re grading this assignment?

  2. Is the web page a presentation and does it feature an interactive plot that appears to have been created with Plotly?

My Plotly Plot

The Code

library(ggplot2); library(plotly)
p = ggplot(data = surrey.cases, aes(x = Date, y = TotalCases)) + 
  geom_point(col = "red") + 
  scale_x_date(date_labels = "%b") +
  labs(title = "Cummulative COVID Cases in Surrey over Time")
fig = ggplotly(p)
fig