The plot shows the correlation of two of the main car variables that correlate pretty well with fuel consumption.
The data is from the R dataset “mtcars” (a dataset of 32 automobiles from 1973-74).
The plot features an interactive label that allows the easy identification of the car.
The two variables or dependant variables are:
- wt Weight (1000 lbs)
- hp Gross horsepower
and the independent variable is:
- mpg Miles/(US) gallon