At a glance
The latest value each source has published, with the full history as a small trend line. Select a card to jump to its chart.
Latest means the most recent year each source has published, which is not always the same year for both. Trend lines start at zero.
How to read the charts
Methods and limitations
In short
- The numbers come from two public sources, the World Bank and the World Health Organization (WHO), copied once on the date shown at the top.
- Nothing is estimated, smoothed or filled in by this page. Where a source has no value for a year, there is a gap.
- Where the two sources report different numbers for the same year, both are shown and the difference is pointed out.
- The charts describe what was published. They cannot say why anything changed.
Where the data comes from
This page reads a single saved file, data.json, which a script (fetch_data.py) wrote from the two public APIs. It makes no requests to the sources itself, so it cannot change or break when an API changes.
| Indicator | Source | Code | Years with a value | Provider updated |
|---|
Request URLs, the providers’ own descriptions of each series and a SHA-256 checksum of each saved response are in data.json and raw/manifest.json.
How the numbers are shown
- Exactly as published. No value is interpolated, smoothed, extrapolated or re-based.
- Gaps are gaps. A year with no published value is left out. A line stops there and starts again at the next published year; a single isolated value is drawn as a marker on its own.
- Rounded for display only. On screen, numbers are rounded to a sensible number of decimals. The CSV downloads contain the full-precision values.
- Headline groups only. Where WHO also publishes results split by sex or household wealth, only the both-sexes, all-households total is used. The exact filter for each series is stored in
data.json. - Uncertainty. WHO’s lower and upper bounds, where it publishes them, are drawn as a shaded band. The World Bank responses used here carry no bounds.
How the two sources are compared
What this page cannot tell you
- Why things changed. The charts show how published numbers move over time. Nothing here supports a claim that a policy, programme or event caused a change.
- Where in Nigeria, or for whom. Only national totals are used. Differences between states, urban and rural areas, income groups or sexes are hidden inside these averages.
- Exact counts. Several series are modelled estimates, not counts, and providers revise them. A later snapshot can differ for past years.
- Anything newer than the last release. The latest value is only as recent as each provider’s last update, and the two sources do not always cover the same years.
- The future. Nothing is projected beyond the published data.
- Which source is right. When the sources differ, both are shown and this page does not choose between them.
How to refresh the data
python fetch_data.py # download again; rewrites raw/, data.json, data.js python fetch_data.py --from-raw # rebuild data.json from raw/ without the network python -m pytest # run the tests
Python 3 is enough to fetch the data. Only the tests need pytest.