DataBrighten

    Incidence of HIV, all (per 1,000 uninfected population)

    5,054 × 6rows × columns: 147 countries, 1990 to 2024

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

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

    What it measures

    Number of new HIV infections among uninfected populations expressed per 1,000 uninfected population in the year before the period.

    The numbers in 2024

    In 2024, 139 countries have a value. The highest is Eswatini (4.2); at the bottom, 4 countries tie at 0.01 (e.g. Bangladesh, Jordan, Syrian Arab Republic). The median country value is 0.12. The World Bank's World aggregate for 2024 is 0.16.

    Top 10 countries, 2024

    per 1,000 uninfected population

    Source: World Bank, SH.HIV.INCD.TL.P3, retrieved 19 November 2026. Computed from incidence-of-hiv-all-per-1-000-uninfected-population.csv.

    Highest, 2024

    #CountryValue
    1Eswatini4.2
    2South Africa3.1
    3Mozambique2.9
    4Lesotho1.9
    5Botswana1.8
    6Congo, Rep.1.7
    7Namibia1.6
    8Fiji1.5
    9Zambia1.5
    10Papua New Guinea1.1

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Vanuatu0.01
    2Syrian Arab Republic0.01
    3Jordan0.01
    4Bangladesh0.01
    5Yemen, Rep.0.1
    6Viet Nam0.1
    7United Arab Emirates0.1
    8Tunisia0.1
    9Tajikistan0.1
    10Switzerland0.1
    How many countries report, by decade
    DecadeMost countries in one year
    1990s144
    2000s144
    2010s146
    2020s146

    World aggregate by year

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

    YearWorld
    20240.16
    20230.17
    20220.18
    20210.19
    20200.2
    20190.21
    20180.22
    20170.23
    20160.25
    20150.26
    20140.27
    20130.28

    By region, 2024

    World Bank regionValue
    Sub-Saharan Africa 0.537
    Latin America & Caribbean 0.215
    South Asia0.0907

    First rows

    incidence-of-hiv-all-per-1-000-uninfected-population.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19900.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19910.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19920.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19930.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19940.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19950.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19960.01
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19970.1

    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
    valuenumberIncidence of HIV, all (per 1,000 uninfected population), 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?

    Eswatini, with 4.2.

    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("incidence-of-hiv-all-per-1-000-uninfected-population.csv"))

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

    File: incidence-of-hiv-all-per-1-000-uninfected-population.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("incidence-of-hiv-all-per-1-000-uninfected-population.csv"))

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

    File: incidence-of-hiv-all-per-1-000-uninfected-population.csv

    What is the median across countries in 2024?

    0.12 (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("incidence-of-hiv-all-per-1-000-uninfected-population.csv"))

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

    File: incidence-of-hiv-all-per-1-000-uninfected-population.csv

    Which country rose the most between 2014 and 2024?

    Fiji: from 0.15 to 1.5, a rise of 1.35 (out of 138 countries with both years).

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

    Use the wide file (incidence-of-hiv-all-per-1-000-uninfected-population-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("incidence-of-hiv-all-per-1-000-uninfected-population.csv"))

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

    File: incidence-of-hiv-all-per-1-000-uninfected-population.csv

    Which year has the most countries reporting?

    2022, with 146 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("incidence-of-hiv-all-per-1-000-uninfected-population.csv"))

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

    File: incidence-of-hiv-all-per-1-000-uninfected-population.csv