{
  "title": {
    "text": "Gas still supplied nearly half of Ireland's and Italy's electricity",
    "subtext": "Share of 2023 electricity generation from natural gas, percent",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600 },
    "subtextStyle": { "fontSize": 12 }
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "shadow" }
  },
  "grid": {
    "left": 120,
    "right": 72,
    "top": 72,
    "bottom": 48,
    "containLabel": false
  },
  "xAxis": {
    "type": "value",
    "name": "% of generation",
    "nameLocation": "middle",
    "nameGap": 28,
    "min": 0,
    "max": 55,
    "axisLabel": { "formatter": "{value}" },
    "splitLine": { "show": true }
  },
  "yAxis": {
    "type": "category",
    "data": [
      "France",
      "Germany",
      "Portugal",
      "Belgium",
      "Spain",
      "Greece",
      "United Kingdom",
      "Netherlands",
      "Italy",
      "Ireland"
    ],
    "axisTick": { "show": false }
  },
  "series": [
    {
      "name": "Gas share of electricity, 2023",
      "type": "bar",
      "data": [5.7, 15.8, 21.2, 21.9, 22.5, 32.0, 34.8, 37.9, 45.0, 48.2],
      "barWidth": "62%",
      "itemStyle": { "color": "#1f4e79" },
      "label": {
        "show": true,
        "position": "right",
        "formatter": "{c}%",
        "color": "#17212b"
      }
    }
  ]
}
