activity6_question2
✓ Published2🌍 Public
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 descriptionMIT Licensed