Script to analyze and compare your Spotify music playlist with the top 100 songs of 2018
I used the Spotipy API for this analysis.
Find a summary of my analysis in this blogpost:
This led me to try to answer two questions using data from Spotify:- What does my music playlist look like?
- Are there particular audio attributes that are common among hit songs?
We will be using Python 3 as the programming language, Spotipy, the Python library that allows you to connect to the Spotify Web API and we will use plot.ly and Seaborn for data visualisation.
At the end of each year, Spotify compiles a playlist of the songs streamed most often over the course of that year and this playlist has 100 tracks. The dataset I used was already available on Kaggle: https://www.kaggle.com/nadintamer/top-spotify-tracks-of-2018