Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 6

Public visualization

Viewing a saved revision (read-only)

5b42365212c24ce2ad6715ea523ba8f4

Assignment 6

0 stars0🌍 Public
Ssakethpapareddy@gmail.com
Last edited Oct 17, 2025
Created on Oct 17, 2025
Forked from D3 Starter

This visualization shows the top 10 music genres ranked by average popularity score, using horizontal bars sorted from highest to lowest. The code loads a CSV dataset via `d3.csv`, aggregates popularity means with `d3.rollups`, and renders an SVG bar chart using `d3.scaleBand` and `d3.scaleLinear`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, and rotated genre labels improve readability. The bar chart uses steelblue rounded rectangles to compare genre popularity at a glance.

AI-generated description