Skip to main content
100%

Age range of genders

✓ Published0🌍 Public
PPetrando
Last edited Oct 7, 2017
Created on Oct 7, 2017

This visualization presents age-range distributions for male and female populations using a diverging bar chart, with each gender extending from a central axis. Users can toggle between showing combined totals or gender-separated views and optionally sort the age ranges. The chart is built with D3 v3, rendering as SVG with animated transitions. It loads data from a CSV file, stacks the gender values using `d3.layout.stack`, and maps ordinal age ranges to y-axes, while linear x-scales handle population counts formatted with `d3.format`. Color scales differentiate genders and age ranges, with tooltips providing additional detail.

AI-generated description

Similar vizzes