🌍 Public
Viewing a saved revision (read-only)
22db4e2d6be541f19e16d1cfb5dd608b
Activity6_Task2
This bar chart shows the percentage distribution of IMDb rating categories across six film genres, with each genre’s stacked bar summing to 100% to reveal how ratings differ by type. The visualization uses d3.v7’s `d3.stack()` and `d3.scaleOrdinal()` for the stacked segments, plus `d3.scaleLinear()`, `d3.scaleBand()`, and D3 axes for positioning. SVG rendering is employed, with mouseover events showing precise percentages via a tooltip. The data comes from the visible CSV file, and colors map to five rating ranges from below 5.0 to above 8.5.
AI-generated description