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$)
Kenya / Nigeria
| # | Kenya | Nigeria |
|---|---|---|
| 2004 | US$ 464 | US$ 962 |
| 2005 | US$ 523 | US$ 1,211 |
| 2006 | US$ 700 | US$ 1,600 |
| 2007 | US$ 840 | US$ 1,816 |
| 2008 | US$ 916 | US$ 2,154 |
| 2009 | US$ 1,048 | US$ 1,820 |
| 2010 | US$ 1,092 | US$ 2,202 |
| 2011 | US$ 1,096 | US$ 2,418 |
| 2012 | US$ 1,285 | US$ 2,633 |
| 2013 | US$ 1,371 | US$ 2,873 |
| 2014 | US$ 1,483 | US$ 3,089 |
| 2015 | US$ 1,489 | US$ 2,586 |
| 2016 | US$ 1,554 | US$ 2,070 |
| 2017 | US$ 1,667 | US$ 1,876 |
| 2018 | US$ 1,836 | US$ 2,058 |
| 2019 | US$ 1,960 | US$ 3,190 |
| 2020 | US$ 1,928 | US$ 2,797 |
| 2021 | US$ 2,061 | US$ 2,787 |
| 2022 | US$ 2,110 | US$ 2,899 |
| 2023 | US$ 1,943 | US$ 2,139 |
| 2024 | US$ 2,133 | US$ 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.