Assignment Description

Create a visualization from Rolling Stone Magazine’s 500 greatest albums of all time (1955-2011). The single chart visualization should utilize ggplot2 and show the relationship of at least two categorical variables and a numeric summary for the data. The chart should include a descriptive title using ggtitle. There should be no warnings, messages or typos in the report.

Data

Load the ‘Rolling Stones Top 500 Albums’ data set from Professor Suleiman’s website. Create a new data set that introduces a new derived categorical variable ‘Decade’, rewrites each hits’ genre to be its primary genre (we will assume the first in the list of genres is the primary) and calculate the number of albums for each decade / primary genre pair. Display the first few records of the new data set.

## # A tibble: 6 x 3
## # Groups:   Decade [2]
##   Decade Genre      Albums
##    <dbl> <chr>       <int>
## 1   1950 Blues           1
## 2   1950 Jazz            6
## 3   1950 Rock            3
## 4   1960 Blues           4
## 5   1960 Classical       1
## 6   1960 Electronic      2

Charts

Display single visualization showing the top album counts by decade and genre composition.