← All Side Quests
Oct 26, 2026Visualization

How Power Changed

See how much of each place's electricity came from coal, oil, and gas from 2000 to 2021.

Try the project ↓
How to use this project

Help

How to explore

Electricity can come from coal, oil, gas, nuclear power, water, wind, sunlight, and other sources. This page follows the share made from coal, oil, and gas.

  1. Start with the United States

    Follow its fossil share from 2000 to 2021, then choose another place.

  2. Move through the years

    Use the year control to place the selected country or economy among the other places in its region.

  3. Compare the paths

    Read the largest falls and rises since 2000, then select a row to carry that place through every view.

  4. Keep scale in view

    Compare the median place with the published world figure; they answer different questions.

Electricity share
The percentage of a place's electricity made from a named group of sources.
Fossil sources
Coal, oil, and natural gas, grouped together in this World Bank indicator.
Percentage point
The direct difference between two percentages; a move from 60% to 50% is a fall of 10 percentage points.
Median place
The middle value after every retained country or economy is ordered; each place counts once.
Side Quest / VisualizationStart with the United States, move the year control, choose any of 201 countries and economies, compare it with the published world share and its regional median, and inspect the largest rises and falls since 2000.

Electricity · coal, oil, and gas · 2000–2021

How power
changed

See how much of each place's electricity came from coal, oil, and gas from 2000 to 2021.

Power systems changed in different directions. A lower share means fossil sources made up less of the mix—not necessarily that a place made less fossil-fueled electricity.

200064.1%202161.5%

Published world aggregate

01 · Follow one place

What share of electricity came from fossil sources?

Choose a country or economy. The bright line shows its share from coal, oil, and gas; the thin lines show the published world share and its regional median.

2021 fossil share60.8%−10.3 points since 2000
20002021

Lowest in this period60.4%2020

Highest in this period71.7%2001

Regional median in 202139.5%each place counts once

02 · Move through time

Where did United States sit in 2021?

Each dot is one country or economy, placed by its fossil share. Select any dot or move the year control above; both views update together.

East Asia & Pacific34 places
Median 79.4%
Europe & Central Asia52 places
Median 39.7%
Latin America & Caribbean41 places
Median 79.7%
Middle East, North Africa, Afghanistan & Pakistan22 places
Median 91.8%
North America2 places
Median 39.5%
South Asia6 places
Median 63.3%
Sub-Saharan Africa44 places
Median 60.4%

126 of 201 retained places were at or above 50% in 2021. This is a count of places, not people or units of electricity.

03 · Compare paths

Which shares moved the most from 2000 to 2021?

Each rail begins at the 2000 share and ends at the selected year. Choose a row to carry that place back through the page.

A change in share can come from several directions: fossil generation can change, other sources can change, or total electricity production can change. These rows do not identify the cause.

04 · Check the scale

One year, four different comparisons.

The selected place, its regional median, the median retained place, and the published world aggregate are not interchangeable. Read them side by side for 2021.

United Statesselected place

60.8%

North Americamedian of 2 retained places

39.5%

Median placemiddle of 201 equally weighted places

66.2%

Worldpublished World Bank aggregate

61.5%
Published world change, 2000–2021−2.6 points

The median place changed by −2.6 points over the same years. The similar result is coincidental: the world figure reflects electricity output, while the median gives every place equal weight.

A standard-library Python reducer verifies two pinned World Bank API responses, retains 201 countries and economies with complete annual observations from 2000 through 2021, calculates unweighted regional medians, and writes a 70,390-byte static snapshot with no runtime request.

Why this exists

The question

Following one place through time, then locating it among its region and the full set of countries and economies, will make changes in fossil-fueled electricity easier to interpret without confusing a share with total output.

What to try

Start with the United States, move the year control, choose any of 201 countries and economies, compare it with the published world share and its regional median, and inspect the largest rises and falls since 2000.

Method and limits

About the data

I selected the World Bank World Development Indicators series `EG.ELC.FOSL.ZS` through the allowlisted World Bank provider. The indicator measures electricity production from oil, natural gas, and coal as a percentage of total electricity production. The World Bank indicator page credits the International Energy Agency's Energy Statistics Data Browser, reports a March 25, 2025 access date, and labels the series CC BY 4.0. The World Bank API response says the series was last updated October 8, 2026.

I retrieved the indicator for every World Bank country and economy from 2000 through 2025 and paired it with the World Bank country catalog. The exact 1,793,901-byte indicator response has SHA-256 `2b3ccb35f3caef0453613b4f209d90088cdf4acd5bd942762e46216def90fecf`; the exact 113,954-byte country response has SHA-256 `c9acf3932785191a649cbc04c3056af4cf64a236e5c3b49d49be25ddb0440bce`. A standard-library Python builder verifies both files, removes World Bank aggregate groups from the place list, and retains the 201 countries and economies with a value in every year from 2000 through 2021. Later years are excluded because their place coverage is incomplete. The builder writes a 70,390-byte static browser snapshot with SHA-256 `b4b88bbec67635f96a5808a1b658b97a64dc201fb3f80edfde0c77720dca4605`, and the page makes no runtime request.

Each place's change is its 2021 share minus its 2000 share, measured in percentage points. Regional values and the median-place summary are unweighted medians, so every retained country or economy counts once regardless of population or electricity generation. The world line is the World Bank's published aggregate, not an average calculated from the 201 retained places.

A falling fossil share does not by itself mean that fossil electricity output or emissions fell; total electricity production may have changed. The indicator groups coal, oil, and gas and does not show which one changed. Its complement includes nuclear and renewable sources, so it should not be read as a renewable share. The views describe reported national electricity mixes and do not establish why they changed. Boundaries, names, data revisions, and coverage follow the World Bank source.

Skills used

  • Data analysis
  • Data engineering
  • Statistical reasoning
  • Systems design
  • Visualization
  • Information design
  • Interaction design
  • Visual design
  • Product thinking
  • Editorial storytelling
  • Accessibility
  • Performance

What the data shows

  1. The World Bank's published world fossil share fell from 64.1% in 2000 to 61.5% in 2021, a difference of 2.6 percentage points.
  2. The median retained country or economy also fell by 2.6 percentage points. In 2021, 126 of the 201 retained places still made at least half of their electricity from coal, oil, and gas.
  3. Denmark had the largest fall in this complete set, from 82.9% in 2000 to 18.6% in 2021. The Republic of the Congo had the largest rise, from 0.3% to 70.9%.
  4. The United States moved from 71.1% in 2000 to 60.8% in 2021, a fall of 10.3 percentage points. This share does not show how total U.S. electricity production changed.