{
  "title": {
    "text": "General government deficit, 2019–2026",
    "subtext": "Percent of GDP. 2026 is an IMF projection in the August 2026 snapshot.",
    "left": 0,
    "textStyle": { "fontSize": 16, "color": "#17212b", "fontWeight": 600 },
    "subtextStyle": { "fontSize": 12, "color": "#4a5560" }
  },
  "legend": {
    "top": 52,
    "left": 0,
    "itemWidth": 22,
    "textStyle": { "color": "#17212b", "fontSize": 12 }
  },
  "tooltip": { "trigger": "axis" },
  "grid": { "left": 48, "right": 24, "top": 108, "bottom": 56 },
  "xAxis": {
    "type": "category",
    "data": ["2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"],
    "boundaryGap": false,
    "axisTick": { "show": false },
    "axisLine": { "lineStyle": { "color": "#c5cdd4" } },
    "axisLabel": { "color": "#4a5560" }
  },
  "yAxis": {
    "type": "value",
    "name": "% of GDP",
    "nameLocation": "end",
    "min": -2,
    "max": 16,
    "splitLine": { "lineStyle": { "color": "#e6e8eb" } },
    "axisLabel": { "color": "#4a5560" }
  },
  "series": [
    {
      "name": "United States",
      "type": "line",
      "data": [5.8, 14.1, 11.5, 3.7, 7.9, 7.9, 6.8, 7.5],
      "showSymbol": true,
      "symbol": "circle",
      "symbolSize": 7,
      "lineStyle": { "width": 3, "color": "#0072B2" },
      "itemStyle": { "color": "#0072B2" }
    },
    {
      "name": "United Kingdom",
      "type": "line",
      "data": [2.4, 12.9, 7.5, 4.6, 6.0, 6.1, 5.4, 3.9],
      "showSymbol": true,
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2, "type": "dashed", "color": "#E69F00" },
      "itemStyle": { "color": "#E69F00" }
    },
    {
      "name": "France",
      "type": "line",
      "data": [2.4, 8.9, 6.6, 4.7, 5.4, 5.8, 5.1, 4.9],
      "showSymbol": true,
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": { "width": 2, "color": "#CC79A7" },
      "itemStyle": { "color": "#CC79A7" }
    },
    {
      "name": "Italy",
      "type": "line",
      "data": [1.5, 9.4, 8.9, 8.1, 7.1, 3.4, 3.1, 2.8],
      "showSymbol": true,
      "symbol": "rect",
      "symbolSize": 6,
      "lineStyle": { "width": 2, "type": "dashed", "color": "#009E73" },
      "itemStyle": { "color": "#009E73" }
    },
    {
      "name": "Germany",
      "type": "line",
      "data": [-1.3, 4.4, 3.2, 1.9, 2.5, 2.7, 2.7, 3.8],
      "showSymbol": true,
      "symbol": "emptyCircle",
      "symbolSize": 7,
      "lineStyle": { "width": 2, "type": "dotted", "color": "#000000" },
      "itemStyle": { "color": "#000000" }
    },
    {
      "name": "Japan",
      "type": "line",
      "data": [3.0, 9.0, 6.3, 4.2, 2.4, 1.7, 1.1, 2.0],
      "showSymbol": true,
      "symbol": "emptyRect",
      "symbolSize": 6,
      "lineStyle": { "width": 2.5, "color": "#D55E00" },
      "itemStyle": { "color": "#D55E00" },
      "markLine": {
        "silent": true,
        "symbol": "none",
        "lineStyle": { "color": "#7a8690", "type": "dashed", "width": 1 },
        "label": { "show": true, "formatter": "2026 proj.", "color": "#4a5560" },
        "data": [{ "xAxis": "2026" }]
      }
    }
  ]
}
