{
  "title": {
    "text": "Two Gulf power systems, 2023",
    "subtext": "Share of electricity generation, percent",
    "left": "center",
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    },
    "subtextStyle": {
      "fontSize": 12,
      "color": "#44515d"
    }
  },
  "legend": {
    "bottom": 0,
    "data": [
      "Oil",
      "Natural gas",
      "Nuclear",
      "Renewables"
    ]
  },
  "tooltip": {
    "trigger": "axis"
  },
  "grid": {
    "left": 16,
    "right": 24,
    "top": 64,
    "bottom": 48,
    "containLabel": true
  },
  "xAxis": {
    "type": "value",
    "name": "Percent of generation",
    "nameLocation": "middle",
    "nameGap": 28,
    "min": 0,
    "max": 100
  },
  "yAxis": {
    "type": "category",
    "data": [
      "Saudi Arabia",
      "Kuwait",
      "United Arab Emirates"
    ],
    "inverse": true
  },
  "series": [
    {
      "name": "Oil",
      "type": "bar",
      "stack": "mix",
      "data": [
        39.1,
        41.7,
        0.0
      ],
      "itemStyle": {
        "color": "#b45309"
      }
    },
    {
      "name": "Natural gas",
      "type": "bar",
      "stack": "mix",
      "data": [
        59.4,
        58.1,
        71.7
      ],
      "itemStyle": {
        "color": "#0369a1"
      }
    },
    {
      "name": "Nuclear",
      "type": "bar",
      "stack": "mix",
      "data": [
        0.0,
        0.0,
        19.6
      ],
      "itemStyle": {
        "color": "#6d28d9"
      }
    },
    {
      "name": "Renewables",
      "type": "bar",
      "stack": "mix",
      "data": [
        1.5,
        0.2,
        8.7
      ],
      "itemStyle": {
        "color": "#15803d"
      }
    }
  ]
}
