Create a web page presentation using R Markdown that features a plot created with Plotly.
Data set used mtcars.
R code:
library(plotly)
data(mtcars)
plot_ly(mtcars, x = ~wt, y = ~mpg, type = "scatter",
color = ~factor(cyl))