Values per item / Back-to-back bars

Back-to-back bars

Use back-to-back bars (a population pyramid) to compare two groups across the same ordered categories, mirrored on a shared spine.

Free (MIT) · Values per item · Adapts to mobile

Japan has three times as many people over 80 as under 5; Nigeria is its mirror image

People by five-year age group and sex, 2023; switch between Japan and Nigeria

Men extend left and women right from the age labels in the middle, youngest at the bottom; each country has its own scale.

On phones: adapts to mobile with its own phone layout (Draws its own phone layout below 520px). Video formats: 16:9, 9:16, best 9:16.

Motion: Bars grow out from the spine, youngest first; switching country reshapes the pyramid in place.

Sound: A whoosh when the country changes; a pop pitched by age on hover. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.

Source: World Development Indicators: population by five-year age group and sex (SP.POP.xxxx.MA.5Y, SP.POP.xxxx.FE.5Y) and total population by sex, World Bank (from UN World Population Prospects) (CC BY 4.0), retrieved 2026-12-01. Counts are the World Bank's share of each age group times the total by sex, so they are rounded estimates.

Data

Japan has three times as many people over 80 as under 5; Nigeria is its mirror image. Source: World Bank (from UN World Population Prospects), World Development Indicators: population by five-year age group and sex (SP.POP.xxxx.MA.5Y, SP.POP.xxxx.FE.5Y) and total population by sex
GroupAgeMenWomen
Japan0–42.1 million2.0 million
Japan5–92.5 million2.4 million
Japan10–142.8 million2.6 million
Japan15–192.9 million2.8 million
Japan20–243.1 million3.0 million
Japan25–293.1 million3.0 million
Japan30–343.1 million3.0 million
Japan35–393.5 million3.4 million
Japan40–443.9 million3.8 million
Japan45–494.7 million4.6 million
Japan50–544.9 million4.8 million
Japan55–594.1 million4.0 million
Japan60–643.8 million3.7 million
Japan65–693.6 million3.7 million
Japan70–744.2 million4.6 million
Japan75–793.6 million4.2 million
Japan80+4.8 million8.1 million
Nigeria0–417 million17 million
Nigeria5–916 million16 million
Nigeria10–1415 million14 million
Nigeria15–1913 million12 million
Nigeria20–2411 million10 million
Nigeria25–298.8 million8.5 million
Nigeria30–347.4 million7.1 million
Nigeria35–396.3 million6.2 million
Nigeria40–445.5 million5.4 million
Nigeria45–494.5 million4.4 million
Nigeria50–543.4 million3.4 million
Nigeria55–592.6 million2.7 million
Nigeria60–642.0 million2.1 million
Nigeria65–691.4 million1.6 million
Nigeria70–74929,0481.0 million
Nigeria75–79562,402618,781
Nigeria80+349,849408,847