The rubric contains the following two questions:
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?
THIS MEANS A DATE THAT IS WITHIN 2 MONTHS OF THE DAY YOU ARE GRADING THIS, PLEASE DO NOT MISGRADE ME, THANK YOU.
DATE: \(\underline{February-21, 2021}\)
2.) Is the web page a presentation and does it feature an interactive plot that appears to have been created with Plotly?
Below is the R Code and \(\underline{Plotly}\) output for Mid-Atlantic Wage Data.
I have chosen education and age as the x and y factors. Each race is categorized by color and XXX by the shape.
library(plotly); library(ISLR)
data(Wage) # load the wages data set
# Create the scatter3d plot using plotly
plotly::plot_ly(data=Wage, x=~education, y=~age, z=~wage, type="scatter3d", mode="markers",color=~race, size=2)