activity_6 task2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from below 5.0 to above 8.5. The visualization uses d3.stack to compute the stacked segments, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the percentage x-axis. Hovering over a segment reveals the exact percentage for that rating category via a tooltip. Colors are assigned using d3.scaleOrdinal with a five-color palette, and the chart is rendered as SVG with data from a CSV file.
AI-generated descriptionMIT Licensed