Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Ssreejabommineni1506@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

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 description
MIT Licensed

Similar vizzes