colorlkak.blogg.se

Spotify color palette based on your music
Spotify color palette based on your music













spotify color palette based on your music spotify color palette based on your music spotify color palette based on your music

This is absolutely an arbitrary cut-off, but it a) left me with a more manageable dataset of only 5800 artists, and b) insured that each artist was truly popular, ie, a hit. I was able to use this to gather listening data for over 7 million songs! What is a Spotify one hit wonder?įor all the following analyses, I chose to only look at artists with more than 100 million total plays. Spotify doesn’t provide this, but a hero on Github put together an API to cull play counts from the Spotify desktop client. Next, I had to get listening data for every song by every artist on my list. My final data set was well over 180,000 records, but I brought it down to about 40,000 by removing artists with fewer than 1000 total followers. This left me with a list of 5000-odd records, of which only a couple dozen weren’t in my first batch of records derived from Kaggle. Then, for each of those artists, I found the top 20 related artists, and so on for 5 rounds. I took each artist from these playlists, and found their top 20 related artists. To cover all my bases, though, I manually gathered a list of about 20 “One Hit Wonder” playlists from the Spotify UI. After removing duplicates, I had about 180,000 records, and all the artists I could think of were represented in the dataset. To fill in these gaps, I used the Spotify API to gather the top 20 related artists for each artist on the list. It was a pretty good start, but a quick ctrl+F showed that it was missing quite a few artists I thought of off the top of my head. I gathered this from two main sources.įirst, I downloaded this list of approximately 80,000 artists from Kaggle. To get started, I needed a comprehensive list of artists on Spotify. I chose Spotify because I’m familiar with the API and the service, and because of the really excellent SpotifyR R package, which made all the data gathering programmatically trivial. For this analysis, I was interested in something a bit different–what are the biggest one hit wonders as defined by current listening data? In other words, what songs make up the highest percentage of an artist’s total plays on a streaming service like Spotify? Data Gathering Most one-hit wonder analyses focus on the time the song spent on the charts, and whether the artist ever charted again.















Spotify color palette based on your music