Skip to main content
100%

Activity6_task2

✓ Published0🌍 Public
MMili Patel
Last edited Mar 29, 2025
Created on Mar 29, 2025

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, broken into five percentage-based rating bands from “below 5.0” to “above 8.5.” Each horizontal bar represents a genre, with colored segments proportional to the share of movies in each rating category. Built with D3 v7, the visualization uses `d3.stack` to compute stacked segments, `d3.scaleOrdinal` for color mapping, and SVG rendering for the final output. The chart reads data from a CSV file and includes interactive tooltips that display the precise percentage for each segment on mouseover.

AI-generated description
MIT Licensed

Similar vizzes