1/25/2021

Introduction

The next slide will use the mtcars dataset and present a plot of the miles per gallon vs weight (1000 lbs). The datapoints are colored in the plot according to the number of cylinders.

Mtcars Data Plot

Conclusion

The plot shows us that generally the cars that get the best miles per gallon are the lightest and have 4 cylinders. The cars that get the worst miles per gallon are the heaviest and have 8 cylinders.