Skip to main content
100%

Activity6_Tutorial2

✓ Published2🌍 Public
Kkandooriabhiram@gmail.com
Last edited Apr 1, 2025
Created on Mar 30, 2025
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each bar segment representing a rating range from below 5.0 to above 8.5. Hovering over a segment displays a tooltip with the exact percentage for that genre and rating level. The visualization uses D3 v7’s `d3.stack()` and `d3.scaleOrdinal` to create the stacked bars, with `d3.axisBottom` and `d3.axisLeft` for axes. Data comes from a CSV file, rendered as SVG elements.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.

MIT Licensed

Similar vizzes