ICE-6 Spotify Songs Sharanya Javvaji
✓ Published1🌍 Public
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 descriptionA whole smiley face
MIT Licensed