{
  "title": {
    "text": "U.S. electricity generation by source",
    "left": 0,
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "tooltip": {
    "trigger": "axis"
  },
  "legend": {
    "bottom": 0,
    "data": [
      "Natural gas",
      "Coal",
      "Nuclear",
      "Renewable"
    ]
  },
  "grid": {
    "left": 56,
    "right": 18,
    "top": 48,
    "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"
    ],
    "axisLabel": {
      "interval": 2
    }
  },
  "yAxis": {
    "type": "value",
    "name": "TWh",
    "min": 0
  },
  "series": [
    {
      "name": "Natural gas",
      "type": "line",
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "type": "solid",
        "color": "#b45309"
      },
      "itemStyle": {
        "color": "#b45309"
      },
      "data": [
        634.29,
        659.914,
        712.432,
        670.192,
        731.552,
        782.829,
        842.774,
        915.196,
        910.176,
        949.776,
        1017.869,
        1045.254,
        1264.552,
        1158.454,
        1161.333,
        1372.57,
        1418.1,
        1337.703,
        1519.218,
        1639.825,
        1680.143,
        1634.09,
        1740.421,
        1865.3
      ]
    },
    {
      "name": "Coal",
      "type": "line",
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "dashed",
        "color": "#44403c"
      },
      "itemStyle": {
        "color": "#44403c"
      },
      "data": [
        2129.498,
        1982.12,
        2039.665,
        2083.326,
        2090.495,
        2153.956,
        2127.796,
        2118.455,
        2132.596,
        1892.661,
        1994.194,
        1875.413,
        1643.43,
        1712.408,
        1712.577,
        1470.997,
        1354.034,
        1321.421,
        1272.15,
        1069.527,
        855.77,
        991.561,
        913.302,
        741.966
      ]
    },
    {
      "name": "Nuclear",
      "type": "line",
      "showSymbol": false,
      "lineStyle": {
        "width": 2.5,
        "type": "dotted",
        "color": "#1d4ed8"
      },
      "itemStyle": {
        "color": "#1d4ed8"
      },
      "data": [
        797.718,
        792.604,
        804.519,
        787.818,
        813.339,
        810.726,
        816.195,
        836.634,
        837.804,
        830.21,
        838.931,
        821.405,
        801.129,
        822.004,
        830.584,
        830.288,
        839.918,
        838.861,
        841.329,
        843.33,
        823.15,
        811.551,
        803.669,
        808.076
      ]
    },
    {
      "name": "Renewable",
      "type": "line",
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "type": "solid",
        "color": "#15803d"
      },
      "itemStyle": {
        "color": "#15803d"
      },
      "data": [
        330.364,
        260.426,
        347.285,
        360.433,
        357.987,
        366.205,
        395.209,
        361.815,
        391.023,
        428.696,
        440.677,
        528.962,
        512.822,
        541.802,
        560.657,
        568.439,
        637.076,
        718.175,
        743.179,
        767.034,
        827.386,
        866.274,
        959.232,
        962.076
      ]
    }
  ]
}