September 30, 2026

What Makes a Car Fuel Efficient?

An Interactive Exploration of the mtcars Dataset

The mtcars dataset contains information about 32 automobiles and their characteristics.

We will explore

  • Horsepower
  • Vehicle weight
  • Fuel efficiency
  • Number of cylinders

Question

Do more powerful and heavier cars tend to have lower fuel efficiency?

Horsepower vs. Fuel Efficiency

Hover over any point to see the individual car’s details.

What Do We See?

Horsepower and MPG

There is a general negative relationship between horsepower and fuel efficiency.

Cars with greater horsepower tend to have lower MPG in this dataset.

An interesting pattern

Cars with more cylinders generally appear toward the higher-horsepower end of the plot.

Vehicle Weight vs. Fuel Efficiency

Hover over the points to explore individual vehicles.

Key Findings

Horsepower

Higher horsepower is generally associated with lower MPG.

Vehicle Weight

Heavier vehicles generally have lower fuel efficiency.

Cylinders

Cars with more cylinders tend to appear toward the higher-weight and higher-horsepower end of the dataset.

Overall

Both horsepower and weight show noticeable relationships with fuel efficiency.

Conclusion

What did we learn?

The mtcars dataset provides a simple way to explore relationships between vehicle characteristics and fuel efficiency.

The interactive Plotly visualizations allow us to investigate individual cars rather than relying only on summary statistics.

Main Takeaway

Cars with greater horsepower and greater weight generally have lower fuel efficiency in this dataset.

Created September 30, 2026

Thank You

Thank you!

Interactive Data Visualization with R & Plotly

Akshat Sinha