Number of People Living in Urban Slum Households by Country, 2000–2022 — Bar Chart Race
This bar chart race ranks 196 countries by urban population living in slums, year by year from 2000 to 2022. The data comes from United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data).
Customise this chart & export videoDownload the data (CSV)
Key facts
- China leads in 2022 with 242,412,204, followed by Nigeria (66,418,876).
- In 2000 the leader was Brazil with 49,057,126.
- Among today’s top ten, Ethiopia grew the most: 2.0× since 2000.
- The animation covers 14 time steps from 2000 to 2022 across 196 countries.
How the ranking changed
First place changed hands 2 times between 2000 and 2022: Nigeria overtook Brazil in 2004 and China overtook Nigeria in 2022. Nigeria had the longest run at the top (2004–2020).
The biggest climbers into the 2022 top ten were DR Congo (9th in 2002, now 4th).
China, DR Congo and Ethiopia were not in the top ten in 2000 but are in it by 2022.
China alone accounts for 27% of the 898.4M total across all 196 countries in 2022, up from 459.5M in 2000.
Top 10 in 2022
| Rank | Name | Value (value) |
|---|---|---|
| 1 | China | 242,412,204 |
| 2 | Nigeria | 66,418,876 |
| 3 | Pakistan | 52,345,381 |
| 4 | DR Congo | 35,308,491 |
| 5 | Indonesia | 31,117,374 |
| 6 | Iran | 30,540,021 |
| 7 | Bangladesh | 27,634,489 |
| 8 | Brazil | 27,366,230 |
| 9 | Philippines | 22,400,202 |
| 10 | Ethiopia | 18,334,958 |
Top 10 in 2000
| Rank | Name | Value (value) |
|---|---|---|
| 1 | Brazil | 49,057,126 |
| 2 | Nigeria | 40,534,059 |
| 3 | Pakistan | 36,406,648 |
| 4 | Indonesia | 31,866,983 |
| 5 | Iran | 24,667,996 |
| 6 | Mexico | 23,765,402 |
| 7 | Bangladesh | 18,291,125 |
| 8 | Philippines | 15,573,830 |
| 9 | Egypt | 13,187,807 |
| 10 | Türkiye | 9,484,002 |
Top 5 over time
| Period | #1 | #2 | #3 | #4 | #5 |
|---|---|---|---|---|---|
| 2000 | Brazil49.1M | Nigeria40.5M | Pakistan36.4M | Indonesia31.9M | Iran24.7M |
| 2010 | Nigeria53M | Pakistan44.1M | Indonesia33M | Brazil29.7M | Iran29.4M |
| 2020 | Nigeria62.6M | Pakistan49.3M | Iran33.4M | DR Congo32.5M | Indonesia30M |
| 2022 | China242.4M | Nigeria66.4M | Pakistan52.3M | DR Congo35.3M | Indonesia31.1M |
About the data
Source: United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data), licensed CC BY 4.0 (Our World in Data); original source terms apply. Snapshot last refreshed on . Gaps in a series are interpolated between the nearest reported values.
Questions
Which country ranks first for urban population living in slums in 2022?
China, with 242.4M. Nigeria is second with 66.4M and Pakistan third.
Which country was first in 2000?
Brazil, with 49.1M. By 2022 it ranks 8th.
When did China become the top country?
China took first place in 2022, overtaking Nigeria.
What were the top 5 countries in 2020?
1. Nigeria (62.6M), 2. Pakistan (49.3M), 3. Iran (33.4M), 4. DR Congo (32.5M) and 5. Indonesia (30M).
Where does the data come from?
United Nations Population Division, national statistical offices, and Eurostat, via World Bank (2026) – processed by Our World in Data (via Our World in Data), published under CC BY 4.0 (Our World in Data); original source terms apply. The chart covers 14 time steps from 2000 to 2022 for 196 countries.
Can I export the bar chart race as a video?
Yes. The chart is rendered frame by frame in your browser and saved as an MP4 (H.264) file at up to 4K and 60 frames per second. Nothing is uploaded, so your data stays on your device.
More bar chart races
- Population by Country (EIA)
- Population by Country (IMF)
- Share of the Population with No Formal Education with Projections by Country
- Fertility Rate: Births per Woman by Country
- Fertility Rate: Births per Woman by Country
- Share of Children in Primary School Age Who Are in School by Country
- Average Years of Schooling by Country
- Reduction in Income Inequality Before and After Tax by Country
- All demographics charts