Gender Distribution Chart
✓ Published2🌍 Public
This interactive stacked bar chart displays gender distribution across Chinese provinces using data3.csv, with raw counts and percent-of-total views toggleable via radio buttons. D3 v3’s layout.stack, ordinal xScale, and linear yScale render the bars, while transition functions animate changes between modes. The SVG visualization includes rotated province labels, a color-coded legend, and a tooltip; it also references data2.csv in the repository, though the active chart focuses on the provincial male/female dataset.
AI-generated descriptionMIT Licensed