Presentation for Week 3 Assignment

Cindy Neo

02 May 2024

Scatterplot using mtcars dataset

library(plotly)

plot_ly(mtcars, x = ~ wt, y = ~ mpg, mode = "markers", color = ~ as.factor(cyl), size = ~ hp)

Thank you!