{
  "title": {
    "text": "Pakistan’s inflation spiked, cooled, then turned back up",
    "subtext": "Annual average consumer-price inflation, percent. 2026 is an IMF projection.",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4b5a67" }
  },
  "legend": {
    "bottom": 0,
    "data": ["Pakistan", "India", "Bangladesh"]
  },
  "grid": { "top": 72, "left": 52, "right": 28, "bottom": 56 },
  "tooltip": { "trigger": "axis" },
  "xAxis": {
    "type": "category",
    "data": ["2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"],
    "axisTick": { "alignWithLabel": true }
  },
  "yAxis": {
    "type": "value",
    "name": "% change",
    "nameLocation": "middle",
    "nameGap": 36,
    "min": 0,
    "max": 32
  },
  "series": [
    {
      "name": "Pakistan",
      "type": "line",
      "data": [4.5, 2.9, 4.8, 4.7, 6.8, 10.7, 8.9, 12.2, 29.2, 23.4, 4.5, 7.2],
      "symbol": "circle",
      "symbolSize": 8,
      "lineStyle": { "width": 3, "color": "#0b3d5c" },
      "itemStyle": { "color": "#0b3d5c" },
      "markLine": {
        "symbol": "none",
        "label": { "formatter": "2026 projection", "color": "#4b5a67" },
        "lineStyle": { "type": "dashed", "color": "#8a97a3" },
        "data": [{ "xAxis": "2026" }]
      }
    },
    {
      "name": "India",
      "type": "line",
      "data": [4.9, 4.5, 3.6, 3.4, 4.8, 6.2, 5.5, 6.6, 5.4, 4.6, 2.1, 4.7],
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2, "color": "#c45c26" },
      "itemStyle": { "color": "#c45c26" }
    },
    {
      "name": "Bangladesh",
      "type": "line",
      "data": [6.4, 5.9, 5.4, 5.8, 5.5, 5.6, 5.6, 6.1, 9.0, 9.7, 10.0, 9.2],
      "symbol": "diamond",
      "symbolSize": 8,
      "lineStyle": { "width": 2, "color": "#2a7f62" },
      "itemStyle": { "color": "#2a7f62" }
    }
  ]
}
