{
  "title": {
    "text": "Ukraine electricity by source, 2021 vs 2023",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" }
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "shadow" }
  },
  "legend": {
    "bottom": 0
  },
  "grid": {
    "left": 48,
    "right": 20,
    "top": 48,
    "bottom": 48,
    "containLabel": true
  },
  "xAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "middle",
    "nameGap": 28,
    "min": 0
  },
  "yAxis": {
    "type": "category",
    "data": ["Onshore wind", "Solar PV", "Hydropower", "Natural gas", "Coal", "Nuclear"],
    "inverse": false
  },
  "color": ["#7a93a8", "#1f4e79"],
  "series": [
    {
      "name": "2021",
      "type": "bar",
      "data": [3.0, 7.9, 6.7, 14.3, 36.5, 86.2]
    },
    {
      "name": "2023",
      "type": "bar",
      "data": [1.1, 8.0, 8.2, 6.0, 22.8, 52.0]
    }
  ]
}
