October 27, 2026

Do heavier cars use more fuel?

  • Explore 32 cars from the built-in R dataset mtcars.
  • Compare vehicle weight with fuel economy in miles per US gallon.
  • Color identifies the number of cylinders.
  • Created October 27, 2026.

Explore the cars

Hover over a point for details. Click legend entries to filter; drag to zoom.

What does the pattern suggest?

  • Heavier cars generally have lower fuel economy in this sample.
  • Four-cylinder cars tend to occupy the lighter, more efficient part of the chart.
  • Weight and fuel economy have a correlation of -0.87.
  • This association does not establish causation: engine size and other design choices also vary.

Context and limitations

Try it yourself

Return to the chart and double-click a legend entry to isolate a cylinder group.

Which cars combine relatively low weight with high fuel economy?

Double-click the plot area to reset the zoom.