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. We would love to see you show off your creativity!
Review criterialess The rubric contains the following two questions:
Does the web page feature a date and is this date less than two months before the date that you’re grading this assignment? Is the web page a presentation and does it feature an interactive plot that appears to have been created with Plotly? Example Submissionsless Here’s an extremely minimal passing example, but we hope your submission is much cooler!
library(plotly)
## Loading required package: ggplot2
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
plot_ly(x=mtcars$wt,y=mtcars$mpg,z=mtcars$hp,type="scatter3d",
mode="markers", color=mtcars$wt)
library(plotly)
p <- plot_ly(midwest, x = ~percollege, color = ~state, type = "box")
p
Plotly: showing Quarterly Approval Ratings of US Presidents Description The (approximately) quarterly approval rating for the President of the United States from the first quarter of 1945 to the last quarter of 1974.
Format A time series of 120 values.
data("presidents")
plot_ly(x=time(presidents), y=presidents, type="bar")
## Warning: Ignoring 6 observations
Thank You Rongeet Talukdar