Best Data Viz
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)
Chart data table: Population by Age and Gender
MaleFemaleAge Group
120011500-14
1400135015-24
2100205025-44
1800190045-64
900105065-74
40060075+
Make a population pyramid with your data

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

PropertyValue
Min Rows4
Min Columns3
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.