Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6 Spotify Songs Sharanya Javvaji

Public visualization

ICE-6 Spotify Songs Sharanya Javvaji

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed