March 18, 2025

Introduction

  • App Name: Data Explorer: Discover Car Performance
  • Creator: Your Name
  • Date: March 18, 2025
  • A fun tool to explore how car features like fuel efficiency and horsepower relate to engine size!

How It Works

  • Pick a Feature: Choose miles per gallon, horsepower, or weight from a dropdown.
  • Filter Cars: Use radio buttons to select 4, 6, or 8 cylinders.
  • View Results: Toggle between a summary table (averages) or a trend chart vs. engine size.
  • Results update instantly based on your choices!

Demo

# Load the mtcars dataset and create a sample plot
library(datasets)
data(mtcars)
plot(mtcars$disp, mtcars$mpg,xlab = "Engine Size (cubic inches)",
     ylab = "Miles per Gallon (mpg)",
     main = "Sample Trend: MPG vs Engine Size",
     pch = 19, col = "blue")

  • This plot shows how fuel efficiency (mpg) changes with engine size for all cars.

Call to Action