Activity6-Question2
✓ Published1🌍 Public
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 descriptionMIT Licensed