{
  "title": {
    "text": "Current-account balance, 2000–2026",
    "subtext": "Percent of GDP. 2026 is an IMF World Economic Outlook forecast.",
    "left": "center",
    "textStyle": { "fontSize": 18, "fontWeight": 600, "color": "#17212b" },
    "subtextStyle": { "fontSize": 12, "color": "#4a5560" }
  },
  "legend": {
    "bottom": 0,
    "data": ["Pakistan", "Egypt", "United Arab Emirates", "Iran"]
  },
  "grid": { "top": 72, "left": 16, "right": 24, "bottom": 56, "containLabel": true },
  "tooltip": { "trigger": "axis" },
  "xAxis": {
    "type": "category",
    "name": "Year",
    "data": ["2000", "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, "interval": 1 },
    "axisTick": { "alignWithLabel": true }
  },
  "yAxis": {
    "type": "value",
    "name": "% of GDP",
    "nameLocation": "middle",
    "nameGap": 42,
    "axisLine": { "show": true },
    "splitLine": { "lineStyle": { "color": "#e6eaee" } }
  },
  "color": ["#0B4F6C", "#B23A48", "#1B7F6B", "#6B5B95"],
  "series": [
    {
      "name": "Pakistan",
      "type": "line",
      "symbol": "circle",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "type": "solid" },
      "data": [-0.2, 0.3, 2.9, 3.6, 1.4, -1.0, -3.0, -3.7, -6.8, -4.9, -2.0, 0.1, -1.9, -1.0, -1.2, -0.9, -1.6, -3.6, -5.4, -4.2, -1.5, -0.8, -4.7, -1.0, -0.6, 0.5, -0.4]
    },
    {
      "name": "Egypt",
      "type": "line",
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": { "width": 2.5, "type": "dashed" },
      "data": [-1.1, 0.0, 0.7, 2.3, 4.1, 3.1, 1.6, 1.7, 0.5, -2.2, -1.9, -2.5, -3.4, -2.1, -0.9, -3.5, -5.6, -5.8, -2.3, -3.4, -2.9, -4.4, -3.5, -1.2, -5.4, -4.2, -4.2]
    },
    {
      "name": "United Arab Emirates",
      "type": "line",
      "symbol": "diamond",
      "symbolSize": 8,
      "lineStyle": { "width": 2.5, "type": "solid" },
      "data": [16.3, 9.1, 3.3, 5.8, 6.4, 13.2, 17.3, 7.6, 7.1, 3.1, 4.0, 11.8, 18.6, 17.9, 12.8, 4.6, 3.5, 6.8, 9.4, 8.6, 5.9, 11.4, 13.0, 14.1, 15.4, 15.3, 11.4]
    },
    {
      "name": "Iran",
      "type": "line",
      "symbol": "rect",
      "symbolSize": 6,
      "lineStyle": { "width": 2, "type": "dotted" },
      "data": [2.8, 1.5, 2.2, 0.4, 0.6, 5.6, 6.3, 7.6, 4.6, 1.9, 4.6, 8.1, 4.8, 5.1, 2.6, 0.3, 2.8, 2.9, 7.6, -0.7, -1.7, 3.6, 3.5, 2.0, 3.2, 0.6, -1.8]
    }
  ]
}
