🌍 Public
Viewing a saved revision (read-only)
4f43539c414b45c5a7544a7cd0dad886
activity6_question2
A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar divided into five rating brackets from “below 5.0” to “above 8.5.” The visualization uses d3.stack() to compute stacked segments, d3.scaleBand() for genre positioning, and d3.scaleLinear() for percentage widths. Color-coded rectangles represent each rating category, and mouseover events trigger a tooltip displaying the exact percentage. Data comes from a CSV file, rendered as SVG with axes and labels styled via CSS.
AI-generated description