RAP HISTORY

——— IN DATA ———

By Hunter Allen

As one of the most influential music genres of our time, rap has made its mark on culture, politics, and society. The soundtrack of the hip-hop movement, rap has evolved in its sounds, themes, techniques, and the artists that contribute to it from its early beginnings in the streets of New York City to the global phenomenon it is today. In this article, we explore the rich history of rap through data visualizations, examining its subgenres, artists, and lyrical content.

Whether you are a long-time dedicated hip-hop follower with a desire to study the trends of the social movement or a casual rap listener who wants to learn more about the genre (or anywhere inbetween), this article is for you to explore and to come up with your own observations and hypotheses.

The timeline below shows a few of the most prominent subgenres in rap music. Click on one of them to explore its data and learn more about it.

The Sugarhill Gang
Top: Mean Machine at the Third Avenue Hub block party, in 1981.
Bottom: Dr. Dre and Snoop Dogg at the 2022 Superbowl half-time show.
Photographers: Joe Conzo & Frederic J. Brown

Artists

Click and drag the circles to move them around. The chart above shows the most influential artists of the subgenre, sized proportionally to monthly listeners on Spotify as of April 2023.
Click and drag words to move them around. The word cloud above shows the most common words of the subgenre, giving more weight to words that are more unique to this subgenre.

Most Common Words

Sentiment Score

The gauge above shows how negative/positive the lyrics are in this subgenre.
The spider-chart above shows how much the six topics show up in lyrics from this subgenre.

Topics

The Data

The dataset we used for this webpage consists of ~25 albums for each subgenre. The line between eras and subgenres can blur, so we tried to stick to the most clear-cut albums and artists for each subgenre. To decide on the most influential albums for each subgenre, we took various inputs from the internet - ChatGPT, Reddit, Wikipedia, and various other websites. Sometimes, albums belong to more than one subgenre. For example, Straight Outta Compton is classified as both golden age and gangsta rap. Some artists are purposefully excluded from the dataset because of the diversity of the songs in each of their albums. For example, any album by Jay-Z is hard to pin as gangsta rap because of the various themes and styles. Again, these are only a few of the subgenres of rap, and even the ones we discuss in this article can be split up into smaller subgenres (like my personal favorite, g-funk as a subgenre of gangsta rap).

To get the data on each of the albums, we used a python library called lyricsgenius and web scraped the data from Genius.com. All of the data visualizations were made with D3.js, a javascript library. Here is some more detailed information about each of the visualizations…