🌍 Public
Viewing a saved revision (read-only)
f0522b7171eb4c47a03ba999cd155bd6
Activity6-Question2
This stacked horizontal bar chart shows the distribution of music ratings percentages across five platforms: Spotify, YouTube, Apple, Amazon, and Tidal, segmented into five rating categories from below 5.0 to above 8.5. Each bar segment’s length corresponds to the proportion of ratings in that category, with hover interactions revealing exact percentages via a tooltip. Rendered with D3 v7 using `d3.stack()` and `d3.scaleOrdinal` for coloring, it employs SVG axes from `d3.axisBottom` and `d3.axisLeft`, reading data from a CSV file. The chart includes a legend and uses percentage labels formatted with `d3.format`.
AI-generated description