Activity6_Task2
✓ Published0🌍 Public
This stacked bar chart shows the distribution of movie ratings across six genres, breaking down each genre into five rating ranges from below 5.0 to above 8.5. The visualization uses D3 v7 with SVG rendering, loading data from a local CSV file and converting percentage values to numbers. The chart employs `d3.stack()` to create stacked segments, `d3.scaleBand()` for the genre axis, and `d3.scaleLinear()` for percentages, with a color scale distinguishing rating ranges. Interactive features include tooltips on mouseover and a custom modal on click that displays the complete rating breakdown for each genre.
AI-generated descriptionMIT Licensed