Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Vvenkatamanikantavaddi@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A stacked bar chart shows the percentage distribution of IMDb rating levels across six movie genres, with each genre represented by a horizontal bar divided into five rating categories. The visualization reveals how genres differ in their rating patterns, such as Documentaries having higher percentages of top ratings compared to Action films. Built with D3 v7, the chart uses `d3.stack()` to compute stacked segments, `d3.scaleBand()` for the y-axis genres, and `d3.scaleLinear()` for the percentage scale. Interactive tooltips display exact percentages on mouse hover using D3 event handlers.

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