Skip to main content
100%

ICE-6 Spotify Songs Sharanya Javvaji

✓ Published1🌍 Public
SSharanya1307
Last edited Mar 23, 2023
Created on Mar 23, 2023

A horizontal bar chart displays the duration of the top 12 Spotify songs, with song names on the y-axis and milliseconds on the x-axis. Each bar’s length is scaled linearly to the song’s duration using `d3.scaleLinear`, while `d3.scaleBand` positions the categorical labels. The React component loads the CSV data via `d3.csv`, slices the first 12 rows, and renders SVG rectangles with axis ticks generated from D3’s scale methods.

AI-generated description

A whole smiley face

MIT Licensed

Similar vizzes