{
  "title": {
    "text": "US electricity generation, 2000-2023",
    "left": "center",
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "tooltip": {
    "trigger": "axis"
  },
  "legend": {
    "bottom": 0,
    "data": [
      "Coal and peat",
      "Natural gas",
      "Nuclear",
      "Wind",
      "Solar PV"
    ]
  },
  "grid": {
    "left": 16,
    "right": 20,
    "top": 44,
    "bottom": 64,
    "containLabel": true
  },
  "xAxis": {
    "type": "category",
    "data": [
      "2000",
      "2001",
      "2002",
      "2003",
      "2004",
      "2005",
      "2006",
      "2007",
      "2008",
      "2009",
      "2010",
      "2011",
      "2012",
      "2013",
      "2014",
      "2015",
      "2016",
      "2017",
      "2018",
      "2019",
      "2020",
      "2021",
      "2022",
      "2023"
    ],
    "boundaryGap": false,
    "axisLabel": {
      "interval": 3
    }
  },
  "yAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "end",
    "nameGap": 8,
    "min": 0
  },
  "color": [
    "#6b3a2a",
    "#5b6570",
    "#5b4aa8",
    "#1d6a8a",
    "#c48a00"
  ],
  "series": [
    {
      "name": "Coal and peat",
      "type": "line",
      "data": [
        2129.5,
        1982.1,
        2039.7,
        2083.3,
        2090.5,
        2154.0,
        2127.8,
        2118.5,
        2132.6,
        1892.7,
        1994.2,
        1875.4,
        1643.4,
        1712.4,
        1712.6,
        1471.0,
        1354.0,
        1321.4,
        1272.2,
        1069.5,
        855.8,
        991.6,
        913.3,
        742.0
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "solid"
      }
    },
    {
      "name": "Natural gas",
      "type": "line",
      "data": [
        634.3,
        659.9,
        712.4,
        670.2,
        731.6,
        782.8,
        842.8,
        915.2,
        910.2,
        949.8,
        1017.9,
        1045.3,
        1264.6,
        1158.5,
        1161.3,
        1372.6,
        1418.1,
        1337.7,
        1519.2,
        1639.8,
        1680.1,
        1634.1,
        1740.4,
        1865.3
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "solid"
      }
    },
    {
      "name": "Nuclear",
      "type": "line",
      "data": [
        797.7,
        792.6,
        804.5,
        787.8,
        813.3,
        810.7,
        816.2,
        836.6,
        837.8,
        830.2,
        838.9,
        821.4,
        801.1,
        822.0,
        830.6,
        830.3,
        839.9,
        838.9,
        841.3,
        843.3,
        823.1,
        811.6,
        803.7,
        808.1
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2,
        "type": "dashed"
      }
    },
    {
      "name": "Wind",
      "type": "line",
      "data": [
        5.7,
        6.8,
        10.5,
        11.3,
        14.3,
        17.9,
        26.7,
        34.6,
        55.7,
        74.2,
        95.1,
        120.9,
        141.9,
        169.7,
        183.9,
        193.0,
        229.5,
        257.2,
        275.8,
        298.2,
        341.8,
        382.8,
        439.3,
        425.9
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "dashed"
      }
    },
    {
      "name": "Solar PV",
      "type": "line",
      "data": [
        0.2,
        0.2,
        0.3,
        0.3,
        0.4,
        0.5,
        0.7,
        1.0,
        1.2,
        1.7,
        3.1,
        5.3,
        9.2,
        14.9,
        23.1,
        32.1,
        46.6,
        67.4,
        81.2,
        93.9,
        115.9,
        148.2,
        183.8,
        214.4
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "dotted"
      }
    }
  ]
}
