Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACTIVITY_6_T2_Q2

Public visualization

ACTIVITY_6_T2_Q2

0 stars0🌍 Public
VVarshithMurakonda@my.unt.edu
Last edited Apr 1, 2025
Created on Apr 1, 2025
Forked from Hello VizHub

This stacked bar chart shows the distribution of movie ratings across six genres, using proportional segments to compare the share of films falling into five rating ranges from “Below 5.0” to “Above 8.5.” Each genre bar is divided into colored, percentage-labeled segments, with a tooltip revealing exact values on hover. The visualization uses D3.js v7 with SVG rendering, applying the `d3.stack()` function with a `d3.stackOffsetExpand` offset to normalize all bars to full width. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while colors come from `d3.scaleOrdinal`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed