Skip to main content
100%

Top 100 Songs w/ Menus

✓ Published3🌍 Public
Ssamemurk21
Last edited Oct 7, 2019
Created on Oct 1, 2019

A scatterplot shows the relationship between two musical attributes for Spotify’s top 100 songs of 2018, with dropdown menus letting viewers select which attribute appears on each axis. The code uses React hooks (useState, useData) to manage selections, d3.scaleLinear and d3.extent for scales, and custom AxisBottom/AxisLeft components to render SVG ticks. Circles are drawn with d3.csv data, and ReactDropdown provides the menu interface.

AI-generated description

A visualization showing the relationship between danceability and energy of the top 100 songs of 2018.

MIT Licensed

Similar vizzes