{
  "title": {
    "text": "General government deficit, 2025",
    "subtext": "Percent of GDP; larger bar = larger deficit",
    "left": 0,
    "textStyle": { "fontSize": 16, "color": "#17212b", "fontWeight": 600 },
    "subtextStyle": { "fontSize": 12, "color": "#4a5560" }
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "shadow" }
  },
  "grid": { "left": 128, "right": 64, "top": 64, "bottom": 44, "containLabel": false },
  "xAxis": {
    "type": "value",
    "name": "% of GDP",
    "nameLocation": "middle",
    "nameGap": 30,
    "min": 0,
    "max": 8,
    "splitNumber": 4,
    "axisLine": { "show": false },
    "axisTick": { "show": false },
    "splitLine": { "lineStyle": { "color": "#e6e8eb" } },
    "axisLabel": { "color": "#4a5560" }
  },
  "yAxis": {
    "type": "category",
    "data": ["United States", "United Kingdom", "France", "Italy", "Germany", "Japan"],
    "inverse": true,
    "axisTick": { "show": false },
    "axisLine": { "lineStyle": { "color": "#c5cdd4" } },
    "axisLabel": { "color": "#17212b", "fontSize": 13 }
  },
  "series": [
    {
      "type": "bar",
      "name": "Deficit, 2025",
      "data": [
        { "value": 6.8, "itemStyle": { "color": "#0072B2" } },
        { "value": 5.4, "itemStyle": { "color": "#4C78A8" } },
        { "value": 5.1, "itemStyle": { "color": "#4C78A8" } },
        { "value": 3.1, "itemStyle": { "color": "#4C78A8" } },
        { "value": 2.7, "itemStyle": { "color": "#4C78A8" } },
        { "value": 1.1, "itemStyle": { "color": "#D55E00" } }
      ],
      "barWidth": 18,
      "label": {
        "show": true,
        "position": "right",
        "color": "#17212b",
        "fontSize": 12,
        "distance": 6
      }
    }
  ]
}
