🌍 Public
Viewing a saved revision (read-only)
28acd70cdc84428a8e8843f0eb711922
ACTIVITY_6_T2_Q2
This stacked bar chart shows the distribution of movie ratings across six genres, using proportional segments to compare the share of films falling into five rating ranges from “Below 5.0” to “Above 8.5.” Each genre bar is divided into colored, percentage-labeled segments, with a tooltip revealing exact values on hover. The visualization uses D3.js v7 with SVG rendering, applying the `d3.stack()` function with a `d3.stackOffsetExpand` offset to normalize all bars to full width. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while colors come from `d3.scaleOrdinal`.
AI-generated description