Interactive Exploration of Fuel Economy

Shruthi R

October 27, 2026

Why explore MPG?

Fuel economy is influenced by several vehicle characteristics, including:

This presentation uses the built-in mtcars dataset to explore how these variables relate to miles per gallon (MPG).

The interactive visualization on the next slide was created using Plotly in R.

Interactive Plotly: Weight vs MPG

Try it: hover over points for vehicle details, zoom into a region, or use the legend to explore groups.

What does the plot suggest?

Because mtcars is an observational dataset, these relationships should be interpreted as associations rather than causal effects.

Takeaway

Interactive graphics make patterns easier to explore

Plotly allows the viewer to:

Created: October 27, 2026

Tool: R Markdown + knitr + Plotly