Skip to main content
100%

Fork of Stack Chart Template

✓ Published3🌍 Public
Ssagayous
Last edited Apr 26, 2023
Created on Apr 26, 2023

This interactive stacked bar chart visualizes mortality causes in South African countries for 2013, using WHO data. It displays the number of deaths by cause and age group (or by province with three categories in an alternate version), with a radio-button toggle that switches the y-axis between raw death counts and percentages of total illness. Built with D3.js (v3.5.6), the chart uses `d3.layout.stack` to create stacked segments and adjusts its offset to either "zero" or "expand" based on the selected mode. The SVG renders with animated transitions on rectangles and axes.

AI-generated description
MIT Licensed

Similar vizzes