{
  "title": {
    "text": "South Korea electricity generation by source, 2023",
    "subtext": "TWh and share of national gross generation. Last complete IRENA year.",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5b6b" }
  },
  "tooltip": { "trigger": "axis", "axisPointer": { "type": "shadow" } },
  "grid": { "left": 168, "right": 88, "top": 84, "bottom": 36 },
  "xAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "middle",
    "nameGap": 24,
    "min": 0,
    "max": 240,
    "axisLabel": { "color": "#17212b" },
    "splitLine": { "lineStyle": { "color": "#d7dee6" } }
  },
  "yAxis": {
    "type": "category",
    "data": ["Oil", "Other non-renewable (residual)", "Renewables (all)", "Natural gas", "Nuclear", "Coal"],
    "inverse": false,
    "axisLabel": { "color": "#17212b", "fontSize": 12 }
  },
  "series": [
    {
      "name": "Generation",
      "type": "bar",
      "data": [
        { "value": 6.6, "itemStyle": { "color": "#8a8a8a" } },
        { "value": 11.3, "itemStyle": { "color": "#6b6b6b" } },
        { "value": 52.7, "itemStyle": { "color": "#2e8b57" } },
        { "value": 166.2, "itemStyle": { "color": "#1f4e79" } },
        { "value": 180.5, "itemStyle": { "color": "#1f6b3a" } },
        { "value": 213.4, "itemStyle": { "color": "#5c4033" } }
      ],
      "barWidth": "58%",
      "label": {
        "show": true,
        "position": "right",
        "color": "#17212b",
        "fontSize": 11,
        "formatter": "{c} TWh"
      }
    }
  ]
}
