Miles per Gallon Data set

This dataset provides fuel economy data from 1999 and 2008 for 38 popular models of cars. The dataset is shipped with ggplot2 package.


Plot 1. Bar plot

This data set is based on the mpg data set included in {ggplot2}. This dataset contains information on the characteristics of 238 cars. The purpose of this exercise is to provide a frequence of the cars by manufacturer and fuel type.

  • Plot Type: Stacked Bar-plot with annoted text and use of ggthemes, and a bespoke colour palette