This presentation demonstrates an interactive data visualization created using Plotly in R Markdown.
It is created as part of a peer-graded assignment and showcases an interactive plot.
2026-01-17
This presentation demonstrates an interactive data visualization created using Plotly in R Markdown.
It is created as part of a peer-graded assignment and showcases an interactive plot.
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( data = mtcars, x = ~wt, y = ~mpg, type = "scatter", mode = "markers", color = ~cyl )