Spotify Songs (Top 100 by Year)
✓ Published3🌍 Public
The visualization displays the Top 100 Spotify songs from 2010–2019, parsed from a CSV file using `d3.csvParse`. It initially shows a loading state, then renders the raw data as JSON in a `<pre>` element after fetching, showcasing the song attributes like energy, danceability, and popularity. The code uses `d3.select` and `selectAll` to manage the DOM, with a state-based rendering loop for asynchronous loading.
AI-generated descriptionSpotify Top Songs (2010–2019)
This dataset contains information about the Top 100
Spotify songs for each year between 2010 and 2019.
It includes metadata such as song title, artist, genre, and
a variety of musical/audio features such as tempo,
danceability, and popularity.
Attribute Descriptions (VAD Framework)
| Attribute | Type | Description |
|---|---|---|
index |
Quantitative | Row index (unique ID for each record) |
title |
Categorical | Title of the song |
artist |
Categorical | Performing artist |
top_genre |
Categorical | Main genre of the song |
year |
Ordered (Time) | Release year (2010–2019) |
nrgy |
Quantitative | Energy score (0–100), higher = more energetic |
dnce |
Quantitative | Danceability score (0–100), higher = easier to dance to |
dB |
Quantitative | Loudness in decibels (negative values, closer to 0 = louder) |
val |
Quantitative | Valence score (0–100), higher = more positive/happy mood |
dur |
Quantitative | Duration in seconds |
pop |
Quantitative | Popularity score (0–100), higher = more popular |
Why This Dataset?
This dataset is interesting because it allows us to explore:
- Trends in popular music across the decade
- How audio features (energy, danceability, valence, acousticness) vary by year and genre
- Correlations between tempo, mood, and popularity
- Which artists or genres dominated specific years
MIT Licensed