Skip to main content
100%

ICE 6 -1

✓ Published0🌍 Public
Ssakethpapareddy@gmail.com
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from D3 Starter

This visualization displays the average popularity of songs across different genres, sorted from highest to lowest. The code uses D3 v7 to load CSV data, roll up the dataset with `d3.rollups`, and compute mean popularity per genre. Bar heights are mapped with `d3.scaleBand` and `d3.scaleLinear`, rendered as SVG rectangles, with axes from `d3.axisBottom` and `d3.axisLeft`. The chart is titled and rendered entirely in SVG.

AI-generated description
MIT Licensed

Similar vizzes