DataBrighten

    AIDS estimated deaths (UNAIDS estimates)

    5,020 × 6rows × columns: 146 countries, 1990 to 2024

    Real data: World Bank, Health Nutrition and Population Statistics, indicator SH.DYN.AIDS.DH, retrieved 19 November 2026. Values are as published; we only reshaped the file.

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

    What it measures

    AIDS deaths are the estimated number of adults and children who died due to AIDS-related causes.

    The numbers in 2024

    In 2024, 139 countries have a value. The highest is South Africa (53,000); at the bottom, 45 countries tie at 100 (e.g. Albania, Antigua and Barbuda, Azerbaijan). The median country value is 500. The World Bank's World aggregate for 2024 is 630,000.

    Top 10 countries, 2024

    UNAIDS estimates

    Source: World Bank, SH.DYN.AIDS.DH, retrieved 19 November 2026. Computed from aids-estimated-deaths-unaids-estimates.csv.

    Highest, 2024

    #CountryValue
    1South Africa53,000
    2Mozambique44,000
    3Nigeria42,000
    4India32,000
    5Tanzania26,000
    6Indonesia24,000
    7Kenya21,000
    8Uganda20,000
    9Zimbabwe17,000
    10Zambia16,000

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Vanuatu100
    2United Arab Emirates100
    3Tuvalu100
    4Timor-Leste100
    5Syrian Arab Republic100
    6Switzerland100
    7St. Vincent and the Grenadines100
    8St. Lucia100
    9St. Kitts and Nevis100
    10Solomon Islands100
    How many countries report, by decade
    DecadeMost countries in one year
    1990s143
    2000s143
    2010s145
    2020s145

    World aggregate by year

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

    YearWorld
    2024630,000
    2023650,000
    2022680,000
    2021710,000
    2020740,000
    2019770,000
    2018810,000
    2017860,000
    2016910,000
    2015960,000
    20141.00 million
    20131.10 million

    First rows

    aids-estimated-deaths-unaids-estimates.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
    valuenumberAIDS estimated deaths (UNAIDS estimates), 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?

    South Africa, with 53,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("aids-estimated-deaths-unaids-estimates.csv"))

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

    File: aids-estimated-deaths-unaids-estimates.csv

    How many countries report a value for 2024?

    139 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("aids-estimated-deaths-unaids-estimates.csv"))

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

    File: aids-estimated-deaths-unaids-estimates.csv

    What is the median across countries in 2024?

    500 (median of the 139 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("aids-estimated-deaths-unaids-estimates.csv"))

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

    File: aids-estimated-deaths-unaids-estimates.csv

    Which country rose the most between 2014 and 2024?

    Pakistan: from 5,700 to 14,000, a rise of 8,300 (out of 138 countries with both years).

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

    Use the wide file (aids-estimated-deaths-unaids-estimates-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("aids-estimated-deaths-unaids-estimates.csv"))

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

    File: aids-estimated-deaths-unaids-estimates.csv

    Which year has the most countries reporting?

    2022, with 145 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("aids-estimated-deaths-unaids-estimates.csv"))

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

    File: aids-estimated-deaths-unaids-estimates.csv