Activity6_Task - 2
✓ Published1🌍 Public
This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating ranges from below 5.0 to above 8.5. The chart uses d3.stack() to compute the stacked segments, d3.scaleBand() for the categorical genre axis, and d3.scaleLinear() for the percentage scale. A tooltip appears on mouseover to display the exact percentage for each rating segment. The data is loaded from a CSV file containing genre and rating proportion columns.
AI-generated descriptionMIT Licensed