{
  "backgroundColor": "#ffffff",
  "title": {
    "text": "Solar electricity generated in 2024",
    "left": 0,
    "top": 8,
    "textStyle": {"fontSize": 16, "fontWeight": 600, "color": "#17212b"}
  },
  "grid": {"left": 130, "right": 72, "top": 56, "bottom": 48},
  "tooltip": {"trigger": "axis", "axisPointer": {"type": "shadow"}},
  "xAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "middle",
    "nameGap": 30,
    "min": 0,
    "max": 900,
    "axisLabel": {"color": "#17212b"},
    "splitLine": {"lineStyle": {"color": "#e6eaee"}}
  },
  "yAxis": {
    "type": "category",
    "data": ["Rest of world", "India", "United States", "Europe", "China"],
    "axisLabel": {"color": "#17212b", "fontWeight": 500},
    "axisLine": {"lineStyle": {"color": "#9aa4ad"}}
  },
  "series": [
    {
      "name": "Solar generation",
      "type": "bar",
      "data": [
        {"value": 522.4, "itemStyle": {"color": "#7a9eaf"}},
        {"value": 127.9, "itemStyle": {"color": "#7a9eaf"}},
        {"value": 274.6, "itemStyle": {"color": "#7a9eaf"}},
        {"value": 341.3, "itemStyle": {"color": "#7a9eaf"}},
        {"value": 839.6, "itemStyle": {"color": "#0f4c5c"}}
      ],
      "barWidth": "58%",
      "label": {
        "show": true,
        "position": "right",
        "color": "#17212b",
        "fontSize": 12
      }
    }
  ]
}
