chartletv0.21.0chartlet.casoon.de

← All examples

Electricity generation by source

Electricity by source, each area on top of the ones below, named where it ends.

Electricity generation by source

examples/generation-mix.json
{
  "schemaVersion": 1,
  "type": "time",
  "title": "Electricity generation by source",
  "source": "Sample data, rounded",
  "showValues": false,
  "legend": "end",
  "panes": [
    {
      "valueAxis": {
        "title": "TWh per year",
        "thousandsSeparator": true
      },
      "stack": "normal",
      "layers": [
        {
          "mark": "area",
          "name": "Fossil",
          "points": [
            {
              "time": "2000",
              "value": 1450
            },
            {
              "time": "2004",
              "value": 1520
            },
            {
              "time": "2008",
              "value": 1500
            },
            {
              "time": "2012",
              "value": 1350
            },
            {
              "time": "2016",
              "value": 1250
            },
            {
              "time": "2020",
              "value": 1000
            },
            {
              "time": "2024",
              "value": 800
            }
          ]
        },
        {
          "mark": "area",
          "name": "Nuclear",
          "points": [
            {
              "time": "2000",
              "value": 860
            },
            {
              "time": "2004",
              "value": 900
            },
            {
              "time": "2008",
              "value": 870
            },
            {
              "time": "2012",
              "value": 800
            },
            {
              "time": "2016",
              "value": 780
            },
            {
              "time": "2020",
              "value": 690
            },
            {
              "time": "2024",
              "value": 620
            }
          ]
        },
        {
          "mark": "area",
          "name": "Hydro and other",
          "points": [
            {
              "time": "2000",
              "value": 400
            },
            {
              "time": "2004",
              "value": 400
            },
            {
              "time": "2008",
              "value": 420
            },
            {
              "time": "2012",
              "value": 450
            },
            {
              "time": "2016",
              "value": 470
            },
            {
              "time": "2020",
              "value": 500
            },
            {
              "time": "2024",
              "value": 480
            }
          ]
        },
        {
          "mark": "area",
          "name": "Wind and solar",
          "points": [
            {
              "time": "2000",
              "value": 25
            },
            {
              "time": "2004",
              "value": 65
            },
            {
              "time": "2008",
              "value": 130
            },
            {
              "time": "2012",
              "value": 290
            },
            {
              "time": "2016",
              "value": 420
            },
            {
              "time": "2020",
              "value": 560
            },
            {
              "time": "2024",
              "value": 760
            }
          ]
        }
      ]
    }
  ]
}
Electricity generation by source
Electricity generation by sourceTime chart with 7 points from 2000 to 2024 and 4 series (Fossil, Nuclear, Hydro and other, Wind and solar). Highest: 1,520 (Fossil in 2004). Lowest: 25 (Wind and solar in 2000). Stacked areas, from the bottom up: Fossil, Nuclear, Hydro and other, Wind and solar; the top edge shows their total.01,0002,0003,00020002005201020152020TWh per year2000 – Fossil: 1,4502004 – Fossil: 1,5202008 – Fossil: 1,5002012 – Fossil: 1,3502016 – Fossil: 1,2502020 – Fossil: 1,0002024 – Fossil: 8002000 – Nuclear: 8602004 – Nuclear: 9002008 – Nuclear: 8702012 – Nuclear: 8002016 – Nuclear: 7802020 – Nuclear: 6902024 – Nuclear: 6202000 – Hydro and other: 4002004 – Hydro and other: 4002008 – Hydro and other: 4202012 – Hydro and other: 4502016 – Hydro and other: 4702020 – Hydro and other: 5002024 – Hydro and other: 4802000 – Wind and solar: 252004 – Wind and solar: 652008 – Wind and solar: 1302012 – Wind and solar: 2902016 – Wind and solar: 4202020 – Wind and solar: 5602024 – Wind and solar: 760Wind and solarHydro and otherNuclearFossil

Source: Sample data, rounded

Show chart data
Data for Electricity generation by source
TimeFossilNuclearHydro and otherWind and solar
20001,45086040025
20041,52090040065
20081,500870420130
20121,350800450290
20161,250780470420
20201,000690500560
2024800620480760
  • Time series (stacked areas)
  • Show a total and its parts over time