Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spotify Dataset Basic Scatter Plot with Axis Using React & D3

Public visualization

Viewing a saved revision (read-only)

2b9a53682d2e475d82ed866b575bd999

Spotify Dataset Basic Scatter Plot with Axis Using React & D3

0 stars0🌍 Public
JJose Morales
Last edited Sep 19, 2025
Created on Sep 19, 2025

This scatter plot visualizes 500 tracks from a Spotify Music Dataset, plotting song duration in milliseconds against a popularity score from 0–100. The chart uses a linear scale for both axes, with the x-axis labels formatted as minutes:seconds. Built with React and D3 v7, the visualization uses D3’s `scaleLinear`, `axisBottom`, `axisLeft`, and `extent` functions to create and scale the plot. Data is loaded from a CSV file and rendered as black circles with a radius of 6.

AI-generated description