Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

c99b18b6bbcd43c2be9ead1d05ff5179

Activity6_Task2

0 stars1🌍 Public
PPreethamreddyannavaram@my.unt.edu
Last edited Apr 4, 2025
Created on Mar 28, 2025
Forked from Hello VizHub

This bar chart shows the percentage distribution of IMDb rating categories across six film genres, with each genre’s stacked bar summing to 100% to reveal how ratings differ by type. The visualization uses d3.v7’s `d3.stack()` and `d3.scaleOrdinal()` for the stacked segments, plus `d3.scaleLinear()`, `d3.scaleBand()`, and D3 axes for positioning. SVG rendering is employed, with mouseover events showing precise percentages via a tooltip. The data comes from the visible CSV file, and colors map to five rating ranges from below 5.0 to above 8.5.

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%.