data for pyramid barchart
✓ Published0🌍 Public
PPetrando
Last edited Oct 7, 2017
Created on Oct 7, 2017
This example shows an age-sex population pyramid for a region, comparing male and female counts across age brackets. It uses a mirrored horizontal bar chart layout, with males extending left and females right from a central axis. The code loads data from a CSV file and renders the bars with D3.js, using standard scales and SVG elements to encode the values. The chart displays raw population numbers from the provided dataset, with age groups sorted from youngest at the bottom to oldest at the top.
AI-generated description