← All projects

COVID-19 Weekly Cases: Global, Regional and Nigeria

How did recorded COVID-19 cases move across the world, Africa and Nigeria, and what can this data not tell us?

Real-world dataHealthcarePythonpandasSeabornSciPy
249countries, regions and groups
779Mestimated recorded cases
6.4Mpeak daily average, Dec 2022

The question

Our World in Data publishes weekly confirmed cases for 249 locations from January 2020 to October 2026. I wanted to describe the waves by region, place Nigeria next to its neighbours, and be clear about what recorded cases can and cannot show.

What I did

Loaded 609,658 rows of weekly cases. Each value is a rolling seven-day total, so I divided by seven to avoid counting cases about seven times, then checked that the world total matched the scale WHO publishes.
Compared yearly totals, the top countries, continental waves and Africa’s share of recorded cases.
Placed Nigeria beside South Africa, Kenya, Ghana and Egypt and dated each country’s peak.
Checked data quality: weekly-batch reporters, countries that stopped reporting, long runs of zeros and catch-up spikes.

What I found

The global daily average peaked on 26 December 2022 at about 6.4 million cases per day, driven by China’s late-2022 wave.
About 56% of the 779 million recorded cases fall in 2022, and recorded cases drop sharply afterwards.
The United States, China and India have the largest totals. China’s total comes mostly from one wave, which is why totals need caution.
Nigeria’s highest daily average was about 1,950 cases in late December 2021, in the same weeks as South Africa’s peak of about 23,400 per day. The timing matches the Omicron wave that reached southern Africa.
Africa’s share of recorded cases was about 3% to 3.5% in 2020 and 2021 and fell below 1% from 2022.
Reporting decays over time. 147 countries have no non-zero count in 2026, and the last non-zero value for the United States is in May 2023.

Charts from the analysis

Global daily average of confirmed cases, with the December 2022 peak.
Global daily average of confirmed cases, with the December 2022 peak.
The 15 countries with the most estimated cases.
The 15 countries with the most estimated cases.
Average daily cases by continent, on a log scale.
Average daily cases by continent, on a log scale.
Africa’s share of global recorded cases by year.
Africa’s share of global recorded cases by year.
Nigeria and selected African countries, on a log scale.
Nigeria and selected African countries, on a log scale.

Limits to keep in mind

Real-world data

Recorded cases depend on testing, reporting rules and laboratory capacity, so they do not measure infection. The file has no population column, so comparisons between countries use absolute counts. It also does not name variants, so any link between a peak and a variant comes from timing alone.

View the code on GitHub ↗
← PreviousThe Upset Report: World Cup 2026Next →COVID-19 ICU Occupancy and the Case-to-ICU Lag