robert_ritz OP t1_iuq3vpq wrote
I scraped data from Wikipedia (link) for the Billboard top-ten singles each year from 1958 to 2022. I then used the Spotify API (link) to get features about each song.
Valence is a measure of positivity (lower is more negative, scale from 0-1). Acousticness is how confident their algorithm is that the track is acoustic (0-1).
Tools used: Python, Spotipy, Pandas, Matplotlib
You can find a blog post about this analysis here. If you want to view the code and data used to generate this plot, you can find it here.
Viewing a single comment thread. View all comments