{
  "title": {
    "text": "Yemen's electricity mix before and after the gas collapse",
    "subtext": "Generation in GWh, 2014 vs 2023",
    "left": "center",
    "textStyle": { "fontSize": 18, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5b6a" }
  },
  "legend": {
    "top": 52,
    "data": ["2014", "2023"]
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "shadow" }
  },
  "grid": {
    "left": 56,
    "right": 24,
    "top": 88,
    "bottom": 48
  },
  "xAxis": {
    "type": "category",
    "data": ["Oil", "Natural gas", "Solar photovoltaic"]
  },
  "yAxis": {
    "type": "value",
    "name": "GWh"
  },
  "series": [
    {
      "name": "2014",
      "type": "bar",
      "barGap": "20%",
      "itemStyle": { "color": "#7a8794" },
      "label": { "show": false },
      "data": [5724.1, 2948.2, 10.56]
    },
    {
      "name": "2023",
      "type": "bar",
      "itemStyle": { "color": "#9a3b2f" },
      "label": { "show": false },
      "data": [4542.0, 63.0, 510.37]
    }
  ]
}
