DataBrighten

    Primary Forest Loss

    1,920 × 6rows × columns: 80 countries, 2002 to 2025

    Real data: World Bank, Environment, Social and Governance (ESG) Data, indicator AG.LND.PFLS.HA, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows1,920country-year values
    Countries80with at least one value
    Years2002 – 202524 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Shows the extent of primary forest loss in the selected country. “Loss” indicates the removal or mortality of tree cover and can be due to a variety of factors, including mechanical harvesting, fire, disease, or storm damage. As such, “loss” does not equate to deforestation.

    The numbers in 2025

    In 2025, 80 countries have a value. The highest is Brazil (1.63 million); at the bottom, 6 countries tie at 0 (e.g. Antigua and Barbuda, Australia, Benin). The median country value is 3,748.

    Top 10 countries, 2025

    value

    Source: World Bank, AG.LND.PFLS.HA, retrieved 19 November 2026. Computed from primary-forest-loss.csv.

    Highest, 2025

    #CountryValue
    1Brazil1.63 million
    2Bolivia622,093
    3Congo, Dem. Rep.559,439
    4Indonesia295,596
    5Peru174,048
    6Cameroon105,303
    7Madagascar91,453
    8Colombia81,870
    9Lao PDR80,456
    10Malaysia65,238

    Lowest, 2025

    Ties are listed A to Z.

    #CountryValue
    1Togo0
    2Senegal0
    3Gambia, The0
    4Benin0
    5Australia0
    6Antigua and Barbuda0
    7Palau1
    8Maldives1
    9Dominica4
    10United States6
    How many countries report, by decade
    DecadeMost countries in one year
    2000s80
    2010s80
    2020s80

    First rows

    primary-forest-loss.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AngolaAGOSub-Saharan AfricaLower middle income20023500
    AngolaAGOSub-Saharan AfricaLower middle income20032963
    AngolaAGOSub-Saharan AfricaLower middle income20042355
    AngolaAGOSub-Saharan AfricaLower middle income20053110
    AngolaAGOSub-Saharan AfricaLower middle income20061400
    AngolaAGOSub-Saharan AfricaLower middle income20078060
    AngolaAGOSub-Saharan AfricaLower middle income20082699
    AngolaAGOSub-Saharan AfricaLower middle income20095342

    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
    valuenumberPrimary Forest Loss, 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 2025?

    Brazil, with 1.63 million.

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

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

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("primary-forest-loss.csv"))

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

    File: primary-forest-loss.csv

    How many countries report a value for 2025?

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

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

    =COUNTIF(E2:E100000,2025)

    SQL (table wb = the CSV)

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

    pandas (df = pd.read_csv("primary-forest-loss.csv"))

    (df.year == 2025).sum()

    File: primary-forest-loss.csv

    What is the median across countries in 2025?

    3,748 (median of the 80 country values; not a World Bank aggregate).

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

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

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

    pandas (df = pd.read_csv("primary-forest-loss.csv"))

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

    File: primary-forest-loss.csv

    Which country rose the most between 2015 and 2025?

    Brazil: from 828,840 to 1.63 million, a rise of 797,945 (out of 80 countries with both years).

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

    Use the wide file (primary-forest-loss-wide.csv): add a column = [2025] - [2015], 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 = 2015 AND b.year = 2025 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("primary-forest-loss.csv"))

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

    File: primary-forest-loss.csv

    Which year has the most countries reporting?

    2025, with 80 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("primary-forest-loss.csv"))

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

    File: primary-forest-loss.csv