Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spotify Songs (Top 100 by Year)

Public visualization

Viewing a saved revision (read-only)

c09b797c74c64941b229de6473b8fce6

Spotify Songs (Top 100 by Year)

0 stars3🌍 Public
VVinayak Revankar
Last edited Sep 4, 2025
Created on Sep 1, 2025
Forked from Loading Data

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 description