Fuel efficiency is an important factor when comparing automobiles. This project presents a Shiny web application that allows users to interactively explore fuel efficiency data using the mtcars dataset.
2026-01-08
Fuel efficiency is an important factor when comparing automobiles. This project presents a Shiny web application that allows users to interactively explore fuel efficiency data using the mtcars dataset.
Raw datasets can be difficult for beginners to understand. This application helps users: - Filter cars by number of cylinders - Visualize fuel efficiency - Understand average MPG easily
The Shiny application includes: - Dropdown input to select number of cylinders - Slider input to control histogram bins - Reactive histogram visualization - Reactive calculation of average MPG
# Summary statistics of fuel efficiency summary(mtcars$mpg)
## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 10.40 15.43 19.20 20.09 22.80 33.90
This project demonstrates how Shiny can be used to build simple and interactive data exploration tools. Future improvements may include: - Additional filtering options - More datasets - Predictive modeling