May 29, 2018

Introduction

This application allows you to visualize the relationship between selected variable, mpg and automobiles. The scatter plot show which automobiles and variable consume gas effectively.

  • You may select variables such as Weight, Horsepower, Cylinder and Gear.
  • You may resize data sample by define the range for QSec (1/4 mile time)

Data set

The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models).

Here, we take only 5 variable as shown in the table below.

##       mpg              wt             gear            cyl       
##  Min.   :10.40   Min.   :1.513   Min.   :3.000   Min.   :4.000  
##  1st Qu.:15.43   1st Qu.:2.581   1st Qu.:3.000   1st Qu.:4.000  
##  Median :19.20   Median :3.325   Median :4.000   Median :6.000  
##  Mean   :20.09   Mean   :3.217   Mean   :3.688   Mean   :6.188  
##  3rd Qu.:22.80   3rd Qu.:3.610   3rd Qu.:4.000   3rd Qu.:8.000  
##  Max.   :33.90   Max.   :5.424   Max.   :5.000   Max.   :8.000  
##       qsec      
##  Min.   :14.50  
##  1st Qu.:16.89  
##  Median :17.71  
##  Mean   :17.85  
##  3rd Qu.:18.90  
##  Max.   :22.90

Plot

The relationship between Weigth, MPG and Automobiles.

Overview