B.15 Histogram with geom_histogram

Histogram of points scored

Code
ggplot(dd, aes(x = score))+
  geom_histogram(color = 'black', 
                 binwidth = 5)

We can use the fill aesthetic here too.

Code
ggplot(dd, aes(x = score, 
               fill = season.type))+
  geom_histogram(color = 'black', 
                 binwidth = 5)