Comparison
Population Pyramid
Back-to-back horizontal bars showing age distribution by gender.
Population by Age and Gender
Census 2025 (thousands)
View data (6 rows)
| Male | Female | Age Group |
|---|---|---|
| 1200 | 1150 | 0-14 |
| 1400 | 1350 | 15-24 |
| 2100 | 2050 | 25-44 |
| 1800 | 1900 | 45-64 |
| 900 | 1050 | 65-74 |
| 400 | 600 | 75+ |
Use a population pyramid when…
- Demographic analysis
- Age-gender distribution
- Population comparison
- Comparing populations of different sizes via percent-of-total instead of raw counts
Avoid when…
- Non-demographic data
- Single-variable distribution (use histogram)
Data it needs
| Property | Value |
|---|---|
| Min Rows | 4 |
| Min Columns | 3 |
| Column Types | stringnumber |
Visual anatomy
Marks
rectangle
Channels
lengthdirectioncolor-hue
Axes
x-quantitative (mirrored)y-ordinal (age)
Guiding principles
Common mistakes
Inconsistent scales on left and right
Too many age bands
History
Used in demography since the late 19th century; standard UN population reporting format.
Accessibility notes
Hue is the only signal separating the two groups, so pair color with a side label or pattern fill for color-vision-deficient readers. Provide a data table as alternative.
Related reading
Got data? Let's see what works.
Drop your CSV. You'll get a Population Pyramid plus four alternatives - ranked by which one actually fits your data best.