Skip to main content
100%

Activity6_tutorial

✓ Published0🌍 Public
Rrakesh.kavuru@outlook.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart displays the percentage distribution of IMDb ratings across six movie genres, with each genre's horizontal segments summing to 100%. Hovering over a segment reveals a tooltip with the exact percentage for that rating level. The visualization is built with D3 v7, using `d3.stack()` to create the stacked data, `d3.scaleOrdinal()` for color mapping, and SVG rectangles for rendering. The chart includes axes, titles, and an interactive tooltip that updates via mouse events.

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