DataBrighten

    Mammal species, threatened

    430 × 6rows × columns: 215 countries, 2018 to 2022

    Real data: World Bank, World Development Indicators, indicator EN.MAM.THRD.NO, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows430country-year values
    Countries215with at least one value
    Years2018 – 20222 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    A threatened species is likely to become endangered within the foreseeable future, throughout all or a significant portion of its range. Threatened species are species classified by the IUCN as Critically Endangered (CR), Endangered (EN) and Vulnerable (VU). Mammal species are mammals excluding whales and porpoises.

    Limits and exceptions (World Bank note)

    Reporting the proportion of threatened species on the Red List is complicated by the fact that not all species groups have been fully evaluated, and also by the fact that some species have so little information available that they can only be assessed as Data Deficient (DD). For many of the incompletely evaluated groups, assessment efforts have focused on species that are likely to be threatened; therefore any percentage of threatened species reported for these groups would be heavily biased (i.e., the percentage of threatened species would likely be an overestimate). Some parts of the world, such as the Andes, Central and West Africa, Angola, parts of South and Southeast Asia, and Melanesia, still have sparse information available of their mammal faunas. In addition, many species' names, especially in the tropics, actually represent complexes of several species that have not yet been resolved. The information on the relative importance of different threatening processes to mammal species is incomplete. IUCN codes all threats that appear to have an important impact, but not their relative importance for each species. Since IUCN has evaluated extinc

    The numbers in 2022

    In 2022, 215 countries have a value. The highest is Indonesia (212); at the bottom, 5 countries tie at 0 (e.g. French Polynesia, Isle of Man, Liechtenstein). The median country value is 10. The World Bank's World aggregate for 2017 is 3,434.

    Top 10 countries, 2022

    value

    Source: World Bank, EN.MAM.THRD.NO, retrieved 19 November 2026. Computed from mammal-species-threatened.csv.

    Highest, 2022

    #CountryValue
    1Indonesia212
    2Madagascar133
    3India99
    4Brazil97
    5Mexico97
    6Malaysia80
    7China78
    8Australia69
    9Thailand64
    10Colombia63

    Lowest, 2022

    Ties are listed A to Z.

    #CountryValue
    1Macao SAR, China0
    2Luxembourg0
    3Liechtenstein0
    4Isle of Man0
    5French Polynesia0
    6Virgin Islands (U.S.)1
    7Sweden1
    8San Marino1
    9Marshall Islands1
    10Lithuania1
    How many countries report, by decade
    DecadeMost countries in one year
    2010s215
    2020s215

    World aggregate by year

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

    YearWorld
    20173,434

    By region, 2022

    World Bank regionValue
    Sub-Saharan Africa 1,073
    East Asia & Pacific1,031
    Latin America & Caribbean 663
    Europe & Central Asia388
    Middle East, North Africa, Afghanistan & Pakistan273
    South Asia228
    North America65

    First rows

    mammal-species-threatened.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201811
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202212
    AlbaniaALBEurope & Central AsiaUpper middle income20183
    AlbaniaALBEurope & Central AsiaUpper middle income20224
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income201814
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income202215
    American SamoaASMEast Asia & PacificHigh income20181
    American SamoaASMEast Asia & PacificHigh income20221

    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
    valuenumberMammal species, threatened, 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 2022?

    Indonesia, with 212.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("mammal-species-threatened.csv"))

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

    File: mammal-species-threatened.csv

    How many countries report a value for 2022?

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

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

    =COUNTIF(E2:E100000,2022)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("mammal-species-threatened.csv"))

    (df.year == 2022).sum()

    File: mammal-species-threatened.csv

    What is the median across countries in 2022?

    10 (median of the 215 country values; not a World Bank aggregate).

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

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

    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 = 2022 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2022) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2022));

    pandas (df = pd.read_csv("mammal-species-threatened.csv"))

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

    File: mammal-species-threatened.csv

    Which year has the most countries reporting?

    2022, with 215 countries.

    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("mammal-species-threatened.csv"))

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

    File: mammal-species-threatened.csv