October 27, 2026
Introduction to the Dataset
- This presentation leverages the mtcars dataset from the base R
datasets package.
- We will explore the interactive relationship between:
- Gross Horsepower (hp)
- Miles Per Gallon (mpg)
- Number of Cylinders (cyl)
- Use your mouse to hover, zoom, and pan across the interactive graph on the next slide!
Motor Trend Car Road Tests (Interactive Plot)
Summary & Key Takeaways
- Negative Correlation: As gross horsepower increases, miles per gallon (
mpg) drops significantly.
- Cylinder Clustering:
- 4-cylinder cars occupy the high-efficiency, lower-horsepower tier.
- 8-cylinder vehicles cluster around high-horsepower, lower-efficiency performance.
- Interactive Tooltip: Hovering highlights specific weight vectors and unique car model text seamlessly.