Skip to main content
100%

Fork of Bubble chart

✓ Published0🌍 Public
NNathelen
Last edited May 8, 2023
Created on May 8, 2023
Forked from Bubble chart

This visualization shows the relationship between popularity and valence for Spotify artists, using a bubble chart where each circle represents an artist. The x-axis maps average popularity, the y-axis maps average valence (musical positivity), and the bubble size indicates the number of tracks per artist. Hovering over a bubble reveals the artist name and track count via a tooltip. The code loads CSV data with d3.csv, aggregates it using JavaScript `reduce` methods, and renders SVG circles with D3 v4 scale functions for positioning, size, and color.

AI-generated description
MIT Licensed

Similar vizzes