{
  "backgroundColor": "#ffffff",
  "color": [
    "#1f6f8b",
    "#d97706"
  ],
  "title": {
    "text": "In 2023, coal was half of capacity and three-quarters of electricity",
    "left": "center",
    "top": 8,
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "tooltip": {
    "trigger": "axis"
  },
  "legend": {
    "top": 48,
    "left": "center"
  },
  "grid": {
    "top": 88,
    "left": 16,
    "right": 28,
    "bottom": 28,
    "containLabel": true
  },
  "xAxis": {
    "type": "value",
    "name": "% of 2023 total",
    "max": 80,
    "axisLabel": {
      "color": "#334155"
    },
    "splitLine": {
      "lineStyle": {
        "color": "#e2e8f0"
      }
    }
  },
  "yAxis": {
    "type": "category",
    "data": [
      "Other renewables",
      "Solar",
      "Wind",
      "Hydropower",
      "Nuclear",
      "Other fossil",
      "Coal"
    ],
    "axisLabel": {
      "color": "#17212b",
      "fontSize": 12
    },
    "axisTick": {
      "show": false
    }
  },
  "series": [
    {
      "name": "Share of capacity",
      "type": "bar",
      "data": [
        2.2,
        14.6,
        9.0,
        9.5,
        1.5,
        10.1,
        52.3
      ],
      "barMaxWidth": 18,
      "itemStyle": {
        "color": "#1f6f8b"
      }
    },
    {
      "name": "Share of generation",
      "type": "bar",
      "data": [
        1.4,
        5.8,
        4.0,
        8.7,
        2.5,
        2.7,
        74.6
      ],
      "barMaxWidth": 18,
      "itemStyle": {
        "color": "#d97706"
      }
    }
  ]
}
