Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 6 -1

Public visualization

Viewing a saved revision (read-only)

1212b0afa9e740f88c914c7191c1efab

ICE 6 -1

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