ACTIVITY6_T2
✓ Published0🌍 Public
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segment representing the percentage of titles in five rating brackets from "below 5.0" to "above 8.5." The chart uses d3.stack() to compute the stacked series and d3.scaleOrdinal with a custom color palette to differentiate rating categories. Interactive tooltips display exact percentages on mouseover using d3's event handling. The SVG rendering includes custom axes, tick styling, and genre labels via d3.axisBottom and d3.axisLeft.
AI-generated descriptionMIT Licensed