Skip to main content
100%

Activity6_Task2

✓ Published1🌍 Public
Vvidyagangasani@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

A stacked bar chart displays the percentage distribution of five IMDb rating categories across six movie genres, showing how genre influences ratings. The chart uses SVG rendering with D3.js v7, employing `d3.scaleOrdinal` for colors, `d3.scaleLinear` for the x-axis percentage scale, and `d3.scaleBand` for the categorical y-axis. Hovering over bars triggers tooltips showing exact percentages, computed from the provided CSV data.

AI-generated description

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