Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Spotify_D3ScatterPlot

Public visualization

Spotify_D3ScatterPlot

0 stars2🌍 Public
Cchandanamahesh0215@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This animated scatter plot visualizes Spotify listening habits, showing the relationship between total songs played and several rotating attributes including average listening time, new artists discovered, skipped songs, and mood score. Built with D3.js 6.7.0, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data from a CSV file loaded via `csv()`. The visualization cycles through four x-axis variables every two seconds using `setInterval`, redrawing circles with updated `cx` positions as the x-axis changes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed