Fork of Gender Distribution Chart
✓ Published0🌍 Public
This chart compares the distribution of male and female cases across Chinese provinces using stacked bar charts, with radio buttons to toggle between raw counts and percentage of total illness. The visualization uses D3.js v3, including d3.layout.stack for stacking, d3.svg.axis for axes, and D3 transitions to animate the re-scaling of bars when switching modes. Data is loaded from a CSV file, and the color scale uses d3.scale.category20 to distinguish between genders. The chart includes an interactive legend and hover effects on the SVG rectangles.
AI-generated descriptionMIT Licensed