Activity8_Task2
✓ Published0🌍 Public
A stacked horizontal bar chart displays the distribution of IMDb movie ratings across six genres, with each bar segmented into five rating brackets from "below 5.0" to "above 8.5" and labeled with the percentage each segment represents. The visualization uses d3.stack() to compute the stacked series, d3.scaleBand() for the genre categories on the y-axis, and d3.scaleLinear() for the percentage scale on the x-axis. Interactive tooltips appear on mouseover, showing the exact percentage for a specific genre and rating bracket, with the data loaded from a CSV file and rendered as SVG elements.
AI-generated descriptionTask 2 Q1
MIT Licensed