Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 2 question 1

Public visualization

Viewing a saved revision (read-only)

511ffd5fd9ac4ba6b24e4fc575e54d90

Activity 6 task 2 question 1

0 stars0🌍 Public
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This example shows the distribution of age-group percentages across multiple streaming platforms using a stacked horizontal bar chart. Six platforms, including Netflix, Hulu, Disney+, and others, are compared across five age brackets from Under 18 to 45+. The data is loaded from a CSV file and rendered as SVG using D3.js v7, with d3.stack() to compute the stacking and d3.scaleOrdinal to assign categorical colors. Interactive tooltips display the exact percentage for each platform-age segment on mouseover.

AI-generated description