Skip to main content
100%

Fork of Fork of Stack Chart Template

✓ Published0🌍 Public
YYunLing
Last edited Nov 15, 2023
Created on Oct 17, 2023

This example shows a stacked bar chart of the three data types (type1, type2, type3) across Chinese provinces, with the chart title referencing WHO data on deaths from illnesses in 2013. It uses D3.js (v3.5.6) with d3.layout.stack, d3.scale.ordinal, and d3.scale.linear to render the stacked bars as SVG. The visualization includes interactive radio buttons to toggle between raw counts and percentage views, though the corresponding transition logic is not fully implemented in the visible code. The data comes from local CSV files (data3.csv).

AI-generated description
MIT Licensed

Similar vizzes