Activity6_Task2
✓ Published0🌍 Public
This bubble chart shows the distribution of movie ratings across different genres, with each genre represented as a horizontal stacked bar broken into five rating categories from below 5.0 to above 8.5. The chart uses D3 v7’s `d3.stack()` to compute the stacked segments and `scaleOrdinal` for category colors, rendering as SVG rectangles within a fixed 960×500 viewport. Mouse interactions trigger tooltips formatted with `d3.format('.2f')` to display the exact percentage value for each rating segment. The data comes from a CSV file containing proportional values per genre.
AI-generated descriptionMIT Licensed