Top 100 Songs w/ Menus
✓ Published3🌍 Public
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 descriptionA visualization showing the relationship between danceability and energy of the top 100 songs of 2018.
MIT Licensed