2026-01-13

Introduction

This presentation demonstrates the use of Plotly to create interactive data visualizations using R Markdown.

Dataset

We use the built-in mtcars dataset to explore the relationship between car weight and fuel efficiency.

Interactive Plot

## 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