🌍 Public
Viewing a saved revision (read-only)
f3f5cc5618bb4cfb89ba6a8e50e36737
Activity 6 Task 2
A stacked horizontal bar chart shows the percentage distribution of IMDb ratings across six genres, from documentary to action, with each bar divided into five rating brackets. The visualization uses D3 v7's `d3.stack()` to compute stacked series, `d3.scaleBand()` for the categorical y-axis, and `d3.scaleLinear()` for the percentage x-axis. Data from `data.csv` is loaded and rendered as SVG rectangles, with mouseover interactions that display exact percentages via tooltips.
AI-generated description