October 27, 2026
About this presentation
- Created on October 27, 2026 with R Markdown (ioslides) and Plotly.
- Data: the built-in
mtcars dataset, 32 cars from 1974.
- Question: how do weight, power and transmission relate to fuel economy?
- Every chart is interactive: hover for details, click legend items to hide groups, drag to zoom, double-click to reset.
Heavier cars burn more fuel
Power, weight and efficiency in 3D
MPG by transmission
Takeaways
- Manual cars average 24.4 MPG vs 17.1 MPG for automatics.
- Much of that gap comes from weight: heavier cars get fewer miles per gallon.
- Each extra 1000 lbs costs about 5.3 MPG.
- Source code is in this R Markdown file, so the presentation is fully reproducible.