🌍 Public
Viewing a saved revision (read-only)
096406d250c640ef9f8af5064032a401
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