Skip to main content
100%

Fork of Basic Scatter Plot with React & D3

✓ Published1🌍 Public
VVinayak Revankar
Last edited Sep 19, 2025
Created on Sep 9, 2025

A scatter plot visualizes the musical characteristics of Spotify's top songs from 2010 to 2019, positioning each track by its danceability and energy scores while sizing circles by popularity. A categorical color scale distinguishes genres, with a legend identifying the ten genre categories. The React app uses D3's `csv` loader to parse song attributes from a local CSV file, then leverages D3's `scaleLinear`, `axisBottom`, and `axisLeft` to construct the chart and its axes.

AI-generated description

Spotify 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

MIT Licensed

Similar vizzes