{
  "backgroundColor": "#ffffff",
  "color": ["#9b2c2c", "#b7791f"],
  "title": {
    "text": "Interest is about half the US deficit — the rest is still a primary gap",
    "subtext": "Percent of GDP, deficit shown as positive  •  United States  •  IMF WEO",
    "left": 16,
    "top": 8,
    "textStyle": { "fontSize": 15, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5560" }
  },
  "legend": {
    "data": ["Primary deficit", "Implied interest"],
    "top": 56,
    "left": 16,
    "textStyle": { "fontSize": 12, "color": "#17212b" }
  },
  "grid": { "left": 56, "right": 24, "top": 96, "bottom": 48 },
  "tooltip": { "trigger": "axis", "axisPointer": { "type": "shadow" } },
  "xAxis": {
    "type": "category",
    "data": ["2015","2016","2017","2018","2019","2020","2021","2022","2023","2024","2025"],
    "axisLabel": { "fontSize": 11, "color": "#4a5560" },
    "axisLine": { "lineStyle": { "color": "#c5ced6" } }
  },
  "yAxis": {
    "type": "value",
    "name": "% of GDP",
    "min": 0,
    "max": 16,
    "interval": 2,
    "nameTextStyle": { "color": "#4a5560", "fontSize": 11 },
    "axisLabel": { "fontSize": 11, "color": "#4a5560" },
    "splitLine": { "lineStyle": { "color": "#e6ebef" } }
  },
  "series": [
    {
      "name": "Primary deficit",
      "type": "bar",
      "stack": "deficit",
      "barMaxWidth": 36,
      "itemStyle": { "color": "#9b2c2c" },
      "data": [1.692, 2.374, 2.781, 3.101, 3.528, 12.077, 9.193, 0.989, 4.759, 4.371, 3.17]
    },
    {
      "name": "Implied interest",
      "type": "bar",
      "stack": "deficit",
      "barMaxWidth": 36,
      "itemStyle": { "color": "#b7791f", "decal": { "symbol": "line", "rotation": 0.785, "dashArrayX": [1, 0], "dashArrayY": [2, 4], "color": "rgba(255,255,255,0.35)" } },
      "data": [1.837, 1.982, 2.013, 2.234, 2.278, 2.049, 2.268, 2.733, 3.128, 3.487, 3.654]
    }
  ]
}
