DataBrighten

    Heating Degree Days

    11,184 × 6rows × columns: 193 countries, 1960 to 2024

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

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

    What it measures

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

    The numbers in 2024

    In 2024, 144 countries have a value. The highest is Russian Federation (13,726); at the bottom, 3 countries tie at 0.01 (e.g. Belize, Cambodia, Sri Lanka). The median country value is 1,558.

    Top 10 countries, 2024

    value

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

    Highest, 2024

    #CountryValue
    1Russian Federation13,726
    2Canada13,357
    3Tajikistan11,746
    4Iceland11,456
    5Kyrgyz Republic11,209
    6Mongolia10,854
    7Norway9,617
    8Finland9,487
    9Sweden8,998
    10Kazakhstan7,963

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Sri Lanka0.01
    2Cambodia0.01
    3Belize0.01
    4Timor-Leste0.02
    5Cameroon0.19
    6Bahamas, The0.21
    7El Salvador0.25
    8Nigeria0.29
    9Thailand0.66
    10Fiji1
    How many countries report, by decade
    DecadeMost countries in one year
    1960s157
    1970s183
    1980s183
    1990s183
    2000s180
    2010s178
    2020s172

    First rows

    heating-degree-days.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19606222.93
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19616241.25
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19626185.3
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19635580.67
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19646779.33
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19656189.67
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19665956.51
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income19676331.35

    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
    valuenumberHeating 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?

    Russian Federation, with 13,726.

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

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

    File: heating-degree-days.csv

    How many countries report a value for 2024?

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

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

    File: heating-degree-days.csv

    What is the median across countries in 2024?

    1,558 (median of the 144 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("heating-degree-days.csv"))

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

    File: heating-degree-days.csv

    Which country rose the most between 2014 and 2024?

    Iceland: from 10,053 to 11,456, a rise of 1,402 (out of 143 countries with both years).

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

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

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

    File: heating-degree-days.csv

    Which year has the most countries reporting?

    1993, with 183 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("heating-degree-days.csv"))

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

    File: heating-degree-days.csv