Skip to main content
Public

Share visualization

Loading preview…

Fork of Stack Chart Template - added data

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

Fork of Stack Chart Template - added data

0
KKamal Bahadur Rana
Last edited Sep 19, 2023
Created on Apr 24, 2023

This interactive stacked bar chart displays deaths from various illnesses in 2013, broken down by age range across selected South African countries, using WHO data. The visualization, rendered as an SVG with D3.js (v3), includes radio buttons that toggle between showing raw death counts and percentages of total illness. The chart uses `d3.layout.stack` for the stacked bars, `d3.scale.ordinal` for the x-axis, and a categorical color scale for the causes of death, with animated transitions between the two display modes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed