{
  "title": {
    "text": "2024 budget balances: Colombia sits with Mexico and Brazil",
    "left": "center",
    "textStyle": { "fontSize": 15, "fontWeight": 600, "color": "#17212b" }
  },
  "grid": { "left": 88, "right": 48, "top": 56, "bottom": 48 },
  "tooltip": { "trigger": "axis" },
  "xAxis": {
    "type": "value",
    "name": "General-government net lending, % of GDP (2024)",
    "nameLocation": "middle",
    "nameGap": 28,
    "min": -8,
    "max": 0,
    "axisLine": { "show": true },
    "splitLine": { "lineStyle": { "color": "#e6ebf0" } }
  },
  "yAxis": {
    "type": "category",
    "data": ["Chile", "Peru", "Mexico", "Colombia", "Brazil"],
    "axisLabel": { "fontSize": 13 }
  },
  "series": [
    {
      "name": "2024 net lending",
      "type": "bar",
      "barWidth": 18,
      "data": [
        { "value": -2.815, "itemStyle": { "color": "#5c8a6a" } },
        { "value": -3.53, "itemStyle": { "color": "#5c8a6a" } },
        { "value": -5.777, "itemStyle": { "color": "#c0392b" } },
        { "value": -6.037, "itemStyle": { "color": "#1b4f72" } },
        { "value": -6.172, "itemStyle": { "color": "#c0392b" } }
      ],
      "label": {
        "show": true,
        "position": "left",
        "formatter": "{c}",
        "color": "#17212b",
        "fontSize": 11
      }
    }
  ]
}
