Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Nnarasimhacharyulu010@gmail.com
Last edited Apr 4, 2024
Created on Apr 1, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of five IMDb rating levels across six movie genres, revealing how genre influences audience ratings. The visualization uses d3.stack() to compute stacked segments and d3.scaleBand with d3.scaleLinear for positioning. Hover interactions trigger tooltips displaying exact percentages via d3.select and event handlers. The SVG rendering includes a legend, axis labels, and color-coded categories from the data.csv source file.

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