DataBrighten

    Cooling Degree Days

    12,480 × 6rows × columns: 193 countries, 1960 to 2024

    Real data: World Bank, Environment, Social and Governance (ESG) Data, indicator EN.CLC.CDDY.XD, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows12,480country-year values
    Countries193with at least one value
    Years1960 – 202465 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    A cooling degree day (CDD) is a measurement designed to track energy use. It is the number of degrees that a day's average temperature is above 18°C (65°F). Daily degree days are accumulated to obtain annual values.

    The numbers in 2024

    In 2024, 192 countries have a value. The highest is Mali (7,495); the lowest is Ireland (0.57). The median country value is 3,979.

    Top 10 countries, 2024

    value

    Source: World Bank, EN.CLC.CDDY.XD, retrieved 19 November 2026. Computed from cooling-degree-days.csv.

    Highest, 2024

    #CountryValue
    1Mali7,495
    2Djibouti7,449
    3Burkina Faso7,214
    4South Sudan7,171
    5Senegal7,167
    6United Arab Emirates7,064
    7Oman6,918
    8Mauritania6,780
    9Qatar6,632
    10Gambia, The6,596

    Lowest, 2024

    #CountryValue
    1Ireland0.57
    2Norway13.33
    3Sweden25.13
    4United Kingdom28.37
    5Andorra38.5
    6Denmark54.97
    7New Zealand66.33
    8Liechtenstein67.61
    9Finland75.37
    10Canada90.9
    How many countries report, by decade
    DecadeMost countries in one year
    1960s192
    1970s192
    1980s193
    1990s193
    2000s193
    2010s193
    2020s193

    First rows

    cooling-degree-days.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19601568.35
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19611654.55
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19621448.4
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19631669.38
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19641540.16
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19651509.17
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19661546.52
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19671531.76

    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
    valuenumberCooling Degree Days, 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?

    Mali, with 7,495.

    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("cooling-degree-days.csv"))

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

    File: cooling-degree-days.csv

    How many countries report a value for 2024?

    192 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("cooling-degree-days.csv"))

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

    File: cooling-degree-days.csv

    What is the median across countries in 2024?

    3,979 (median of the 192 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("cooling-degree-days.csv"))

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

    File: cooling-degree-days.csv

    Which country rose the most between 2014 and 2024?

    Botswana: from 2,627 to 3,715, a rise of 1,089 (out of 192 countries with both years).

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

    Use the wide file (cooling-degree-days-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("cooling-degree-days.csv"))

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

    File: cooling-degree-days.csv

    Which year has the most countries reporting?

    2021, with 193 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("cooling-degree-days.csv"))

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

    File: cooling-degree-days.csv