🌍 Public
Viewing a saved revision (read-only)
c163a1eb8fec48a1b3f427fadc8fe9dc
Activity6_Task2
This stacked bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating categories from "below 5.0" to "above 8.5." The horizontal bars reveal how genres like Documentary skew toward higher ratings while Action concentrates in lower ranges. Each segment's precise percentage appears in a tooltip on hover. The visualization uses D3.js v7 with `d3.stack()` for bar composition, `d3.scaleBand()` for the categorical y-axis, and `d3.scaleLinear()` for the percentage scale, rendering as SVG with custom CSS styling.
AI-generated description