Skip to main content
100%

Activity6_Task - 2

✓ Published1🌍 Public
NNitish Thotakura
Last edited Apr 3, 2025
Created on Apr 3, 2025
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 ranges from below 5.0 to above 8.5. The chart uses d3.stack() to compute the stacked segments, d3.scaleBand() for the categorical genre axis, and d3.scaleLinear() for the percentage scale. A tooltip appears on mouseover to display the exact percentage for each rating segment. The data is loaded from a CSV file containing genre and rating proportion columns.

AI-generated description
MIT Licensed

Similar vizzes