{
  "title": {
    "text": "South Korea electricity generation: coal, nuclear and gas",
    "subtext": "TWh, national gross generation, 2000–2024. 2024 is preliminary.",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5b6b" }
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "line" }
  },
  "legend": {
    "top": 58,
    "data": ["Coal", "Nuclear", "Natural gas"]
  },
  "grid": { "left": 64, "right": 28, "top": 96, "bottom": 48 },
  "xAxis": {
    "type": "category",
    "name": "Year",
    "nameLocation": "middle",
    "nameGap": 28,
    "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", "2024"],
    "axisLabel": { "interval": 3, "color": "#17212b" }
  },
  "yAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "middle",
    "nameGap": 44,
    "min": 0,
    "max": 280,
    "axisLabel": { "color": "#17212b" },
    "splitLine": { "lineStyle": { "color": "#d7dee6" } }
  },
  "series": [
    {
      "name": "Coal",
      "type": "line",
      "data": [110.3, 122.7, 128.9, 135.0, 144.7, 147.3, 152.8, 168.8, 187.8, 207.3, 216.9, 224.1, 223.8, 225.0, 225.8, 231.2, 234.8, 264.1, 263.1, 253.3, 222.3, 226.6, 222.4, 213.4, 203.5],
      "symbol": "circle",
      "symbolSize": 7,
      "itemStyle": { "color": "#5c4033" },
      "lineStyle": { "width": 2.5, "type": "solid", "color": "#5c4033" }
    },
    {
      "name": "Nuclear",
      "type": "line",
      "data": [109.0, 112.1, 119.1, 129.7, 130.7, 146.8, 148.7, 142.9, 151.0, 147.8, 148.6, 154.7, 150.3, 138.8, 156.4, 164.8, 162.0, 148.4, 133.5, 145.9, 160.2, 158.0, 176.1, 180.5, 188.8],
      "symbol": "diamond",
      "symbolSize": 8,
      "itemStyle": { "color": "#1f6b3a" },
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#1f6b3a" }
    },
    {
      "name": "Natural gas",
      "type": "line",
      "data": [29.5, 33.5, 42.0, 42.5, 59.2, 61.5, 74.5, 62.9, 62.1, 53.7, 102.4, 116.2, 127.8, 142.5, 129.5, 117.5, 125.1, 130.5, 156.1, 149.8, 155.4, 175.5, 171.0, 166.2, 180.5],
      "symbol": "triangle",
      "symbolSize": 8,
      "itemStyle": { "color": "#1f4e79" },
      "lineStyle": { "width": 2.5, "type": "dotted", "color": "#1f4e79" }
    }
  ]
}
