DataBrighten

    Fish species, threatened

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

    Real data: World Bank, World Development Indicators, indicator EN.FSH.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). Fish species are based on Froese, R. and Pauly, D. (eds). 2008.

    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). Since IUCN has evaluated extinction risk for less than 5 percent of the world's described species, IUCN cannot provide an overall estimate for how many of the planet's species are threatened. For those groups that have been comprehensively evaluated, the proportion of threatened species can be calculated, but the number of threatened species is often uncertain because it is not known whether Data Deficient species are actually threatened or not. Due to variations in consistency and methods of collection, data quality is highly variable across countries. Some countries update their informa

    The numbers in 2022

    In 2022, 215 countries have a value. The highest is Indonesia (366); at the bottom, 4 countries tie at 0 (e.g. Andorra, Liechtenstein, Paraguay). The median country value is 47. The World Bank's World aggregate for 2017 is 8,233.

    Top 10 countries, 2022

    value

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

    Highest, 2022

    #CountryValue
    1Indonesia366
    2Brazil360
    3Mexico308
    4India290
    5United States283
    6Tanzania219
    7Australia214
    8China207
    9Colombia183
    10Malaysia183

    Lowest, 2022

    Ties are listed A to Z.

    #CountryValue
    1South Sudan0
    2Paraguay0
    3Liechtenstein0
    4Andorra0
    5Mongolia1
    6Mali1
    7Luxembourg1
    8Lesotho1
    9Chad1
    10San Marino2
    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
    20178,233

    By region, 2022

    World Bank regionValue
    Latin America & Caribbean 3,262
    East Asia & Pacific2,958
    Sub-Saharan Africa 2,934
    Europe & Central Asia1,641
    Middle East, North Africa, Afghanistan & Pakistan1,302
    South Asia557
    North America369

    First rows

    fish-species-threatened.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20184
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income202211
    AlbaniaALBEurope & Central AsiaUpper middle income201844
    AlbaniaALBEurope & Central AsiaUpper middle income202260
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income201841
    AlgeriaDZAMiddle East, North Africa, Afghanistan & PakistanUpper middle income202265
    American SamoaASMEast Asia & PacificHigh income201812
    American SamoaASMEast Asia & PacificHigh income202224

    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
    valuenumberFish 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 366.

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

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

    File: fish-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("fish-species-threatened.csv"))

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

    File: fish-species-threatened.csv

    What is the median across countries in 2022?

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

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

    File: fish-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("fish-species-threatened.csv"))

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

    File: fish-species-threatened.csv