2026-09-05

Interactive Exploration of Cars

This presentation was created on 2026-09-05 using R Markdown and Plotly.

The goal is to explore how fuel efficiency relates to vehicle weight and horsepower using the built-in mtcars dataset.

MPG vs. Vehicle Weight

Hover over the points to inspect individual cars.
You can also zoom, pan, and select points directly in the chart.

What Does the Plot Suggest?

  • Lighter cars generally achieve higher fuel efficiency.
  • Heavier cars tend to have lower MPG.
  • Cars with greater horsepower often appear as larger points.
  • Plotly makes it possible to inspect every observation interactively.

Horsepower and Fuel Efficiency

A second interactive view shows the relationship between horsepower and MPG.

Conclusion

This presentation demonstrates how R Markdown can combine reproducible analysis with an interactive Plotly visualization.

The interactive charts allow users to explore the data rather than only viewing static figures.