This presentation demonstrates an interactive data visualization created using R Markdown and Plotly.
mtcarsTo explore the relationship between:
The analysis focuses on three variables:
| Variable | Description |
|---|---|
wt |
Vehicle weight in 1000 lbs |
mpg |
Miles per gallon |
cyl |
Number of cylinders |
The objective is to understand whether vehicle weight is related to fuel efficiency.
The interactive plot allows us to explore individual cars by hovering over the points.
The Plotly visualization allows the user to:
The analysis demonstrates how R Markdown and Plotly can be combined to create an interactive web-based presentation.
The visualization shows an overall negative relationship between vehicle weight and fuel efficiency.
Interactive visualization makes it easier to explore individual observations and compare cars with different numbers of cylinders.
This presentation was created using R Markdown and Plotly.