Values over time / Stacked area
Stacked area
Use a stacked area to show how a total and its parts change over time, when the parts add up to the whole.
Free (MIT) · Values over time · Adapts to mobile
Wind and solar overtook hydropower in 2024 and now trail only coal and gas
World electricity generation by source, terawatt-hours, 1985 to 2025
Each band is one source; its thickness is that source's electricity and the top edge is the world total.
On phones: adapts to mobile with its own phone layout (Draws its own phone layout below 520px). Video formats: 16:9, best 16:9.
Motion: Bands rise from the baseline one after another, coal first; switching a source off re-stacks the rest smoothly.
Sound: A pop when the hovered year changes, pitched by source; a whoosh when the stack re-forms. Quiet while it draws and between steps; mute it from its card. Sound is off until the viewer turns it on.
Source: Electricity production by source, Our World in Data (Ember; Energy Institute Statistical Review of World Energy) (CC BY 4.0), retrieved 2026-12-01. Wind and solar are summed into one band, and oil, bioenergy and other renewables into another, to keep six colours.
Data
| Year | Coal | Gas | Nuclear | Hydro | Wind solar | Other |
|---|---|---|---|---|---|---|
| 1985 | 3,748 | 1,426 | 1,489 | 1,979 | 0.1 | 1,188 |
| 1986 | 3,839 | 1,433 | 1,595 | 2,006 | 0.2 | 1,250 |
| 1987 | 4,058 | 1,517 | 1,735 | 2,033 | 0.2 | 1,267 |
| 1988 | 4,201 | 1,541 | 1,891 | 2,098 | 0.3 | 1,343 |
| 1989 | 4,377 | 1,729 | 1,945 | 2,088 | 2.9 | 1,496 |
| 1990 | 4,460 | 1,789 | 2,001 | 2,159 | 4 | 1,517 |
| 1991 | 4,557 | 1,814 | 2,096 | 2,209 | 4.6 | 1,471 |
| 1992 | 4,650 | 1,828 | 2,112 | 2,208 | 5.2 | 1,462 |
| 1993 | 4,728 | 1,862 | 2,185 | 2,341 | 6.3 | 1,405 |
| 1994 | 4,892 | 1,924 | 2,226 | 2,356 | 7.7 | 1,446 |
| 1995 | 5,039 | 2,035 | 2,323 | 2,483 | 8.9 | 1,410 |
| 1996 | 5,280 | 2,100 | 2,407 | 2,517 | 9.9 | 1,398 |
| 1997 | 5,396 | 2,270 | 2,390 | 2,561 | 12.8 | 1,403 |
| 1998 | 5,511 | 2,408 | 2,431 | 2,581 | 16.7 | 1,458 |
| 1999 | 5,631 | 2,600 | 2,524 | 2,601 | 22.1 | 1,442 |
| 2000 | 5,809 | 2,746 | 2,541 | 2,630 | 32.2 | 1,522 |
| 2001 | 5,891 | 2,915 | 2,613 | 2,564 | 39.6 | 1,479 |
| 2002 | 6,144 | 3,105 | 2,655 | 2,612 | 53.9 | 1,481 |
| 2003 | 6,575 | 3,256 | 2,601 | 2,612 | 65.3 | 1,519 |
| 2004 | 6,797 | 3,503 | 2,719 | 2,803 | 88.3 | 1,504 |
| 2005 | 7,167 | 3,681 | 2,727 | 2,912 | 108 | 1,539 |
| 2006 | 7,567 | 3,901 | 2,762 | 3,018 | 139 | 1,453 |
| 2007 | 8,052 | 4,219 | 2,704 | 3,063 | 178 | 1,498 |
| 2008 | 8,074 | 4,361 | 2,695 | 3,245 | 233 | 1,495 |
| 2009 | 7,951 | 4,382 | 2,657 | 3,241 | 296 | 1,416 |
| 2010 | 8,458 | 4,808 | 2,726 | 3,428 | 378 | 1,466 |
| 2011 | 8,911 | 4,866 | 2,610 | 3,488 | 504 | 1,593 |
| 2012 | 8,960 | 5,161 | 2,432 | 3,660 | 626 | 1,676 |
| 2013 | 9,424 | 5,058 | 2,449 | 3,791 | 766 | 1,668 |
| 2014 | 9,604 | 5,214 | 2,499 | 3,871 | 904 | 1,656 |
| 2015 | 9,284 | 5,540 | 2,533 | 3,882 | 1,086 | 1,678 |
| 2016 | 9,328 | 5,850 | 2,571 | 4,015 | 1,288 | 1,643 |
| 2017 | 9,655 | 5,974 | 2,594 | 4,054 | 1,584 | 1,580 |
| 2018 | 10,033 | 6,225 | 2,659 | 4,177 | 1,843 | 1,528 |
| 2019 | 9,826 | 6,401 | 2,754 | 4,228 | 2,119 | 1,504 |
| 2020 | 9,437 | 6,383 | 2,648 | 4,347 | 2,445 | 1,463 |
| 2021 | 10,157 | 6,557 | 2,762 | 4,289 | 2,911 | 1,584 |
| 2022 | 10,240 | 6,628 | 2,640 | 4,324 | 3,441 | 1,645 |
| 2023 | 10,396 | 6,699 | 2,698 | 4,240 | 3,983 | 1,649 |
| 2024 | 10,539 | 6,883 | 2,777 | 4,434 | 4,652 | 1,646 |
| 2025 | 10,472 | 6,921 | 2,812 | 4,435 | 5,492 | 1,641 |