Skip to main content
100%

Infection Type Chart

✓ Published0🌍 Public
Kkalyanreddy997
Last edited Apr 7, 2020
Created on Apr 7, 2020

A stacked bar chart displays infection case counts across Chinese provinces, segmented by transmission type: Travel, Relative, Social, and Unknown. Users toggle between absolute counts and percentage-normalized views via radio buttons, triggering animated transitions. The visualization uses d3.layout.stack for stacking, d3.scale.ordinal for the x-axis, and SVG rectangles with smooth transitions. Data comes from data3.csv, sorted alphabetically by province, with a color-coded legend and hover tooltips for additional detail.

AI-generated description
MIT Licensed

Similar vizzes