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