🌍 Public
Viewing a saved revision (read-only)
282980672b424518a41a1de251a1f7d0
Fork of music rating
This visualization uses stacked horizontal bars to show how music ratings are distributed across four genres: Rock, Pop, Jazz, and Country. Each bar is segmented into five rating categories, from below 5.0 to above 8.5, with colors assigned by D3's `scaleOrdinal`. Hovering over a segment reveals the exact percentage for that genre and rating category via a tooltip. The chart is built with D3 v7, using `d3.stack`, `d3.scaleLinear`, and `d3.scaleBand` to position the bars, and reads its data from a CSV file.
AI-generated description