DataBrighten

    Sample energy usage data

    1,000 × 13rows × columns in the 1,000-row file

    Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.

    textnumberdateyes/no
    Largest file10,000rows; also 100 and 1,000
    Columns13with a data dictionary below
    Dates2024-01-01 – 2024-12-01range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one month of 2024 for one fictional electricity meter (residential, apartment or small business): kWh used, peak and off-peak kWh, average outdoor temperature, price per kWh, service charge and the bill. Use rises in hot and cold months, so the table suits seasonal trend charts and bill calculations.

    More practice tables like this one: all 22 newer sample datasets.

    First rows

    point at a column to light it up

    reading_idtextmeter_idtextcustomer_typetextcitytextstatetextbilling_monthdatekwh_usednumberpeak_kwhnumberoff_peak_kwhnumberavg_temp_fnumberrate_per_kwhnumberfixed_chargenumberbill_amountnumber
    EU800001M10001ResidentialChicagoIL2024-01-0175026248826.40.1612132
    EU800002M10001ResidentialChicagoIL2024-02-0171824847028.20.1612126.88
    EU800003M10001ResidentialChicagoIL2024-03-0177826551332.70.1612136.48
    EU800004M10001ResidentialChicagoIL2024-04-0162821541346.50.1612112.48
    EU800005M10001ResidentialChicagoIL2024-05-0159520039559.60.1612107.2
    EU800006M10001ResidentialChicagoIL2024-06-0162118743471.70.1612111.36
    EU800007M10001ResidentialChicagoIL2024-07-0173425847674.50.1612129.44
    EU800008M10001ResidentialChicagoIL2024-08-0160521239369.90.1612108.8
    EU800009M10001ResidentialChicagoIL2024-09-0165220344966.90.1612116.32
    EU800010M10001ResidentialChicagoIL2024-10-0167521046549.80.1612120

    Average kWh by customer type

    kWh per month, 1,000-row file

    Small business3,105Residential1,059Apartment485
    Show as a table
    customer_typevalue
    Small business3,105
    Residential1,059
    Apartment485
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    reading_idtextRow number
    meter_idtextFictional meter number; each meter has 12 monthly rows
    customer_typetextResidential, Apartment or Small business
    citytextCity
    statetextState
    billing_monthdateFirst day of the billing month (2024)
    kwh_usedintegerElectricity used in the month (kWh)
    peak_kwhintegerkWh used in peak hours
    off_peak_kwhintegerkwh_used - peak_kwh
    avg_temp_fdecimalAverage outdoor temperature that month (degrees F)
    rate_per_kwhdecimalPrice per kWh (USD)
    fixed_chargedecimalMonthly service charge (USD)

    Practice questions

    answers checked in SQL and in Python

    Average monthly kWh by customer type?

    Small business 3,105.2 kWh; Residential 1,058.9 kWh; Apartment 485.3 kWh

    Excel

    =AVERAGEIF(C:C,"Residential",G:G)

    SQL

    SELECT customer_type, ROUND(AVG(kwh_used),1) AS k FROM energy_usage GROUP BY customer_type ORDER BY k DESC, customer_type

    File: energy-usage-1000

    Total billed in July 2024?

    $20,356.81

    Excel

    =SUMIFS(M:M,F:F,DATE(2024,7,1))

    SQL

    SELECT ROUND(SUM(bill_amount),2) FROM energy_usage WHERE billing_month = '2024-07-01'

    File: energy-usage-1000

    Peak share of all kWh (total peak_kwh / total kwh_used)?

    37.9%

    Excel

    =SUM(H2:H1001)/SUM(G2:G1001)

    SQL

    SELECT ROUND(100.0*SUM(peak_kwh)/SUM(kwh_used),1) FROM energy_usage

    File: energy-usage-1000