Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

aecf89f0972142bead786d7142985a85

Activity6_Task2

0 stars0🌍 Public
VVrushikaKanaparthy@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of five IMDb rating levels across six movie genres, demonstrating how genre influences audience ratings. The visualization uses a diverging color scheme to distinguish rating categories and includes hover tooltips that display exact percentages. The code employs D3 v7 with the `d3.stack()` method for data stacking, `d3.scaleOrdinal()` for color mapping, and `d3.scaleLinear()` with `d3.scaleBand()` for axes. Data is loaded from a CSV file and rendered as SVG rectangles within an HTML page.

AI-generated description