{
  "backgroundColor": "#ffffff",
  "title": {
    "text": "US general-government deficit: primary gap plus interest",
    "subtext": "Percent of GDP, 2001–2026. 2025 is an IMF estimate; 2026 is a WEO projection.",
    "left": 8,
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5b6a" }
  },
  "legend": {
    "top": 52,
    "left": 8,
    "itemGap": 16,
    "textStyle": { "color": "#17212b" }
  },
  "grid": { "top": 96, "left": 56, "right": 24, "bottom": 56 },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "line" }
  },
  "xAxis": {
    "type": "category",
    "data": ["2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025","2026"],
    "axisLabel": { "rotate": 45, "color": "#334155" },
    "axisTick": { "alignWithLabel": true },
    "name": "Year",
    "nameLocation": "middle",
    "nameGap": 36
  },
  "yAxis": {
    "type": "value",
    "name": "Percent of GDP",
    "nameLocation": "middle",
    "nameGap": 36,
    "axisLabel": { "color": "#334155" },
    "splitLine": { "lineStyle": { "color": "#e5e7eb" } }
  },
  "series": [
    {
      "name": "Overall deficit (historical)",
      "type": "line",
      "symbol": "circle",
      "symbolSize": 6,
      "lineStyle": { "width": 2.5, "color": "#0b3d5c" },
      "itemStyle": { "color": "#0b3d5c" },
      "data": [0.544, 3.821, 4.771, 4.244, 3.075, 2.036, 2.913, 6.612, 13.177, 10.993, 9.716, 8.114, 4.561, 4.026, 3.53, 4.356, 4.794, 5.335, 5.805, 14.127, 11.461, 3.722, 7.887, 7.858, null, null]
    },
    {
      "name": "Overall deficit (estimate/projection)",
      "type": "line",
      "symbol": "circle",
      "symbolSize": 6,
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#0b3d5c" },
      "itemStyle": { "color": "#0b3d5c" },
      "data": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 7.858, 6.824, 7.502]
    },
    {
      "name": "Primary deficit (historical)",
      "type": "line",
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "color": "#c0392b" },
      "itemStyle": { "color": "#c0392b" },
      "data": [-1.768, 1.717, 2.812, 2.351, 1.084, 0.074, 0.847, 4.589, 11.288, 8.966, 7.419, 5.905, 2.584, 2.056, 1.692, 2.374, 2.781, 3.101, 3.528, 12.077, 9.193, 0.989, 4.759, 4.371, null, null]
    },
    {
      "name": "Primary deficit (estimate/projection)",
      "type": "line",
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#c0392b" },
      "itemStyle": { "color": "#c0392b" },
      "data": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 4.371, 3.17, 3.668]
    },
    {
      "name": "Implied interest (historical)",
      "type": "line",
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2.5, "color": "#1e8449" },
      "itemStyle": { "color": "#1e8449" },
      "data": [2.312, 2.104, 1.959, 1.893, 1.991, 1.962, 2.066, 2.023, 1.889, 2.027, 2.296, 2.209, 1.977, 1.97, 1.837, 1.982, 2.013, 2.234, 2.278, 2.049, 2.268, 2.733, 3.128, 3.487, null, null]
    },
    {
      "name": "Implied interest (estimate/projection)",
      "type": "line",
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#1e8449" },
      "itemStyle": { "color": "#1e8449" },
      "data": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 3.487, 3.654, 3.834]
    }
  ]
}
