Car Feature Analysis Visualization

HH
April 16, 2018

Overview

The purpose of this project is to provide the Car Feature Analysis shiny application which visualize the car dataset based on target audience's interest as follows:

  • Year: newer than 2017
  • Make: Audi, BMW, Porsche, and Mercedes-Benz

This application will provide potential automobile customers with a concise analysis to project the best of buck for a broad selection of automobiles.

The source data for this project was downloaded from Car Features and MSRP.

Getting Started with the Application - 1

Access https://hh0415.shinyapps.io/CarFeatureAnalysis/. The Car Feature Analysis shiny application displays as follows.

The Sqaure Application

Getting Started with the Application - 2

  • Hover the marker to see the detailed info for the car.
  • The circles are proportional to the MPG of the car.
  • Use the widget input (sliders and radio buttons) to narrow down the parameters for the car the potential customer desired as follows:

    • Pick minimum and maximum MSRP(k) values
    • Pick minimum and maximum engine HP values
    • Select viecle style, make, wheels type, and transmission type.

Appendix

This project used subsetted dataset from the original dataset based on the target audience's interest as follows:

car_table <- read.table("data.csv",
                        header=TRUE, quote="\"", sep=",", na.strings = "NA")

car_table_subset <- subset(car_table,
                           Year >= 2017 &
                             (Make == 'BMW' | Make == 'Audi' |
                                Make == 'Mercedes-Benz' | Make == 'Porsche' ))
unique(car_table_subset$Make)
[1] BMW           Porsche       Audi          Mercedes-Benz
48 Levels: Acura Alfa Romeo Aston Martin Audi Bentley BMW ... Volvo
unique(car_table_subset$Year)
[1] 2017