Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

7980481faebc412383a8c61515505744

Activity6_Task2

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

This stacked bar chart displays the percentage distribution of IMDb rating levels across six movie genres, revealing how genre influences audience scores. The visualization uses D3.js v7 with SVG rendering to create horizontal stacked bars, where each genre’s total percentage sums to 100%. A custom tooltip, implemented via D3 event handlers, shows precise rating percentages on mouseover. The chart employs `d3.stack()` for data stacking and `d3.scaleOrdinal` for color mapping, with axes and labels rendered using `d3.axisBottom` and `d3.axisLeft`.

AI-generated description