2026-01-17

Introduction

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.

Interactive Plotly Visualization

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
)