{
  "title": {
    "text": "Nuclear and hydropower shares of 2023 generation",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" }
  },
  "legend": {
    "top": 36,
    "left": "center",
    "textStyle": { "fontSize": 12, "color": "#17212b" }
  },
  "grid": { "left": 16, "right": 56, "top": 72, "bottom": 40, "containLabel": true },
  "tooltip": { "trigger": "axis", "axisPointer": { "type": "shadow" } },
  "xAxis": {
    "type": "value",
    "name": "% of generation",
    "max": 70,
    "axisLabel": { "formatter": "{value}%", "color": "#334155" },
    "splitLine": { "lineStyle": { "color": "#e2e8f0" } }
  },
  "yAxis": {
    "type": "category",
    "inverse": true,
    "data": ["France", "Slovakia", "Hungary", "Finland", "Bulgaria", "Czechia", "Romania"],
    "axisLabel": { "color": "#17212b", "fontSize": 13 },
    "axisLine": { "lineStyle": { "color": "#94a3b8" } }
  },
  "color": ["#1f4e79", "#0f766e"],
  "series": [
    {
      "name": "Nuclear",
      "type": "bar",
      "data": [64.4, 61.3, 44.8, 42.1, 40.2, 39.5, 19.3],
      "barGap": "30%",
      "label": { "show": true, "position": "right", "formatter": "{c}%", "fontSize": 11, "color": "#1f4e79" }
    },
    {
      "name": "Hydropower",
      "type": "bar",
      "data": [10.8, 15.7, 0.6, 18.6, 7.7, 3.1, 31.3],
      "label": { "show": true, "position": "right", "formatter": "{c}%", "fontSize": 11, "color": "#0f766e" }
    }
  ]
}
