2026-03-15

Introduction

Welcome to the pitch for the Car MPG Predictor Shiny application.

  • As fuel prices fluctuate, understanding car efficiency is crucial.
  • This application uses the historical mtcars dataset to provide quick insights.
  • It is designed with a simple, user-friendly interface suitable for everyone, from car buyers to data enthusiasts.

The Application & Documentation

The application is designed to be highly intuitive:

  • Input: A slider widget allows users to easily input the weight of a car.
  • Output: Reactive outputs instantly show the predicted MPG.
  • Visuals: A dynamic plot displays the regression line and user’s prediction.
  • Documentation: Built-in instructions are provided on the sidebar to guide novice users immediately.

Embedded R Code: Dataset Summary

The prediction algorithm relies on a linear model built from the mtcars dataset.

Here is a quick summary of the two core variables evaluated directly in this presentation:

summary(mtcars[, c("mpg", "wt")])
##       mpg              wt       
##  Min.   :10.40   Min.   :1.513  
##  1st Qu.:15.43   1st Qu.:2.581  
##  Median :19.20   Median :3.325  
##  Mean   :20.09   Mean   :3.217  
##  3rd Qu.:22.80   3rd Qu.:3.610  
##  Max.   :33.90   Max.   :5.424

Conclusion

The Car MPG Predictor is a lightweight, efficient tool.

  • It perfectly demonstrates the power of R and Shiny for creating interactive data products.
  • By hosting it on shinyapps.io, it is accessible to anyone on the web.
  • The interactive UI makes exploring data simple and fun.

Thank you for reviewing this peer-assessed project!