What Makes a Car Fuel-Efficient?

An interactive look at weight, cylinders and MPG

Utkarsh Patil

November 3, 2026

Why fuel economy matters

Some cars travel much farther on a gallon of fuel than others. We will explore the mtcars dataset, which includes 32 car models, to ask:

How to interact: Hover over points for vehicle details. Drag to zoom and use the chart toolbar to reset the view.

Explore weight and fuel efficiency

Compare cylinder groups

What the data tells us

Explore it yourself

Return to either interactive chart and hover, zoom, or reset axes to explore individual vehicles and patterns.

Dataset: R’s built-in mtcars dataset.

Created: November 3, 2026
Built with: R Markdown + Plotly (no iframe or widgetframe dependency).