Skip to main content
100%

Activity6_2

✓ Published0🌍 Public
Ddabbararakshitha@gmail.com
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This visualization uses a stacked horizontal bar chart to show the distribution of IMDb movie ratings across six genres, comparing the percentage of titles falling into five rating bins from below 5.0 to above 8.5. The chart encodes each rating category with a distinct color via d3.scaleOrdinal, while d3.stack calculates the stacked segments. Rendering as SVG with d3.v7, the example positions axes using d3.axisBottom and d3.axisLeft, and implements custom mouseover interactions with tooltips displaying precise percentages. The data comes from a CSV file containing genre and rating proportion values.

AI-generated description
MIT Licensed

Similar vizzes