Home › Country comparator

Country comparator

Choose two countries and an indicator. The chart and the figures are computed in your browser from the same World Bank data used on the other pages.

How it works

The page loads one compact data file (World Bank series 2004 to the latest year) and draws an SVG line chart with the same code as the static pages. Missing years are left as gaps instead of being estimated. Nothing you choose is sent anywhere.

Worked example

Kenya vs Nigeria on GDP per capita: US$ 2,133 against US$ 1,084 in 2024; Kenya was at US$ 464 in 2004 and Nigeria at US$ 962.

GDP per capita (current US$)

KenyaNigeria
GDP per capita (current US$) — Kenya / Nigeria2004–202405001,0001,5002,0002,5003,0003,500200420082012201620202024
Kenya / Nigeria
#KenyaNigeria
2004US$ 464US$ 962
2005US$ 523US$ 1,211
2006US$ 700US$ 1,600
2007US$ 840US$ 1,816
2008US$ 916US$ 2,154
2009US$ 1,048US$ 1,820
2010US$ 1,092US$ 2,202
2011US$ 1,096US$ 2,418
2012US$ 1,285US$ 2,633
2013US$ 1,371US$ 2,873
2014US$ 1,483US$ 3,089
2015US$ 1,489US$ 2,586
2016US$ 1,554US$ 2,070
2017US$ 1,667US$ 1,876
2018US$ 1,836US$ 2,058
2019US$ 1,960US$ 3,190
2020US$ 1,928US$ 2,797
2021US$ 2,061US$ 2,787
2022US$ 2,110US$ 2,899
2023US$ 1,943US$ 2,139
2024US$ 2,133US$ 1,084

Popular comparisons

Source: World Bank, World Development Indicators (CC BY 4.0), retrieved 2026-11-20 through the World Bank API v2; data last updated by the World Bank on 2026-11-11. Adapted by us: ranks, medians, changes, crossover years, charts and translated country names. Not endorsed by the World Bank. Data sources. Countries and territories as listed by the World Bank; regional aggregates are excluded.