Introduction

Create a web page presentation using R Markdown that features a plot created with Plotly. Host my webpage on either GitHub Pages, RPubs, or NeoCities. My webpage contains the date that I created the document, and it must contain a plot created with Plotly.

Feb 27 2020

library(ggplot2)
library(plotly)
data <- diamonds[sample(nrow(diamonds), 5000,),]
g <- ggplot(data = data, aes(x = price, y = carat, color=color)) +
  geom_smooth(alpha=.5, size=2) + labs(x="Price (USD)", y="Carat")
ggplotly(g)

Summary