Homework: A Plot using ggplot
This is a plot that I created in R. It uses the built in data set mpg that has information on cars
in the 2000's and 1990's. This plot is a bar graph of the number of cylinders the car has and is separated by the type of the car. This type of graph is good to see general trends by looking at the same color for the different values of x and for comparing those values with different classes of cars. However, since these are raw numbers, we cannot compare an SUV to a pickup truck if we do not know the number of data points for each class of vehicle
Comments
Post a Comment