Skip to main content
Public

Share visualization

Loading preview…

Activity 6 task 2 question 1

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity 6 task 2 question 1

0
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

Comments

Sign in to join the discussion.

MIT Licensed