DataBrighten

    Children (0-14) living with HIV

    3,079 × 6rows × columns: 88 countries, 1990 to 2024

    Real data: World Bank, World Development Indicators, indicator SH.HIV.0014, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows3,079country-year values
    Countries88with at least one value
    Years1990 – 202435 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Children living with HIV refers to the number of children ages 0-14 who are infected with HIV.

    The numbers in 2024

    In 2024, 87 countries have a value. The highest is Mozambique (180,000); at the bottom, 4 countries tie at 100 (e.g. Armenia, Cabo Verde, Ireland). The median country value is 2,200. The World Bank's World aggregate for 2024 is 1.40 million.

    Top 10 countries, 2024

    value

    Source: World Bank, SH.HIV.0014, retrieved 19 November 2026. Computed from children-0-14-living-with-hiv.csv.

    Highest, 2024

    #CountryValue
    1Mozambique180,000
    2South Africa150,000
    3Uganda71,000
    4Congo, Dem. Rep.69,000
    5Tanzania67,000
    6Zimbabwe64,000
    7Kenya62,000
    8Zambia60,000
    9Malawi53,000
    10Angola40,000

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Portugal100
    2Ireland100
    3Cabo Verde100
    4Armenia100
    5Tunisia200
    6Suriname200
    7Romania200
    8Libya200
    9Fiji200
    10Cuba200
    How many countries report, by decade
    DecadeMost countries in one year
    1990s88
    2000s88
    2010s88
    2020s88

    World aggregate by year

    As published by the World Bank (in the regions file, not the country file).

    YearWorld
    20241.40 million
    20231.50 million
    20221.60 million
    20211.60 million
    20201.70 million
    20191.80 million
    20181.90 million
    20172.00 million
    20162.10 million
    20152.20 million
    20142.30 million
    20132.40 million

    First rows

    children-0-14-living-with-hiv.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1990100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1991100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1992100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1993100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1994100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1995100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1996100
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income1997100

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberChildren (0-14) living with HIV, exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2024?

    Mozambique, with 180,000.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2024
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);

    pandas (df = pd.read_csv("children-0-14-living-with-hiv.csv"))

    y = df[df.year == 2024]
    y[y.value == y.value.max()][["country", "value"]]

    File: children-0-14-living-with-hiv.csv

    How many countries report a value for 2024?

    87 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2024;

    pandas (df = pd.read_csv("children-0-14-living-with-hiv.csv"))

    (df.year == 2024).sum()

    File: children-0-14-living-with-hiv.csv

    What is the median across countries in 2024?

    2,200 (median of the 87 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2024))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("children-0-14-living-with-hiv.csv"))

    df[df.year == 2024]["value"].median()

    File: children-0-14-living-with-hiv.csv

    Which country rose the most between 2014 and 2024?

    Pakistan: from 2,600 to 10,000, a rise of 7,400 (out of 87 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (children-0-14-living-with-hiv-wide.csv): add a column = [2024] - [2014], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("children-0-14-living-with-hiv.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2024] - w[2014]).dropna().nlargest(1)

    File: children-0-14-living-with-hiv.csv

    Which year has the most countries reporting?

    2023, with 88 countries. (Later years are still filling in as countries report.)

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("children-0-14-living-with-hiv.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: children-0-14-living-with-hiv.csv