🌍 Public
Viewing a saved revision (read-only)
60cc3fff30644aafb42e85e07d9496c6
Activity6_Task 2 Tutorial
A stacked bar chart built with D3 v7 shows the percentage distribution of IMDb rating levels across six movie genres, demonstrating how genre influences ratings. Each horizontal bar represents a genre, segmented into five rating categories from below 5.0 to above 8.5. Hovering over any segment displays a tooltip with the exact percentage. The visualization uses `d3.stack()`, `d3.scaleOrdinal()`, and `d3.scaleBand()`, rendering bars as SVG rectangles with axes and labels, sourced from an embedded CSV dataset.
AI-generated description