Skip to main content
100%

Activity6_Task2

✓ Published1🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5." Each genre’s row represents the percentage proportion of movies falling into each rating band, normalized to sum to one. Built with D3 v7, the visualization uses `d3.stack()` to compute the stacked series, `d3.scaleLinear()` for the percentage axis, `d3.scaleBand()` for genre categories, and `d3.scaleOrdinal()` with a five-color palette. Interactive tooltips display the exact percentage per category on hover, while SVG rendering handles all graphical output.

AI-generated description

Visualization of data.csv file in stacked bar graph.

MIT Licensed

Similar vizzes