{
  "title": {
    "text": "Iraq's revenues move with oil. Its spending does not.",
    "left": 0,
    "top": 0,
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "legend": {
    "top": 32,
    "left": 0,
    "itemGap": 16,
    "textStyle": {
      "fontSize": 12,
      "color": "#17212b"
    },
    "data": [
      "Revenue, % of GDP",
      "Expenditure, % of GDP",
      "Oil price, US$/barrel"
    ]
  },
  "grid": {
    "top": 88,
    "left": 58,
    "right": 62,
    "bottom": 52
  },
  "tooltip": {
    "trigger": "axis"
  },
  "xAxis": {
    "type": "category",
    "data": [
      "2008",
      "2009",
      "2010",
      "2011",
      "2012",
      "2013",
      "2014",
      "2015",
      "2016",
      "2017",
      "2018",
      "2019",
      "2020",
      "2021",
      "2022",
      "2023",
      "2024",
      "2025"
    ],
    "axisLabel": {
      "rotate": 45,
      "fontSize": 11,
      "color": "#334155"
    },
    "axisLine": {
      "lineStyle": {
        "color": "#94a3b8"
      }
    }
  },
  "yAxis": [
    {
      "type": "value",
      "name": "% of GDP",
      "min": 0,
      "max": 70,
      "nameTextStyle": {
        "color": "#334155"
      },
      "axisLabel": {
        "color": "#334155"
      },
      "splitLine": {
        "lineStyle": {
          "color": "#e2e8f0"
        }
      }
    },
    {
      "type": "value",
      "name": "US$ per barrel",
      "min": 0,
      "max": 120,
      "nameTextStyle": {
        "color": "#334155"
      },
      "axisLabel": {
        "color": "#334155"
      },
      "splitLine": {
        "show": false
      }
    }
  ],
  "series": [
    {
      "name": "Revenue, % of GDP",
      "type": "line",
      "yAxisIndex": 0,
      "data": [
        56.4,
        46.18,
        45.4,
        48.11,
        46.99,
        42.19,
        38.15,
        30.63,
        27.92,
        33.97,
        38.81,
        35.48,
        29.05,
        35.95,
        42.04,
        40.03,
        38.26,
        36.32
      ],
      "symbol": "circle",
      "symbolSize": 7,
      "itemStyle": {
        "color": "#0f766e"
      },
      "lineStyle": {
        "width": 2.5,
        "color": "#0f766e",
        "type": "solid"
      }
    },
    {
      "name": "Expenditure, % of GDP",
      "type": "line",
      "yAxisIndex": 0,
      "data": [
        57.25,
        61.09,
        49.58,
        43.37,
        42.89,
        48.25,
        43.78,
        43.46,
        42.37,
        35.49,
        31.13,
        34.65,
        41.87,
        36.33,
        33.94,
        41.17,
        41.72,
        42.73
      ],
      "symbol": "diamond",
      "symbolSize": 8,
      "itemStyle": {
        "color": "#9a3412"
      },
      "lineStyle": {
        "width": 2.5,
        "color": "#9a3412",
        "type": "dashed"
      }
    },
    {
      "name": "Oil price, US$/barrel",
      "type": "line",
      "yAxisIndex": 1,
      "data": [
        96.77,
        61.5,
        79.14,
        104.07,
        105.1,
        104.17,
        96.33,
        50.91,
        43.26,
        52.98,
        68.53,
        61.43,
        41.77,
        69.25,
        96.36,
        80.59,
        79.17,
        67.74
      ],
      "symbol": "triangle",
      "symbolSize": 7,
      "itemStyle": {
        "color": "#57534e"
      },
      "lineStyle": {
        "width": 2,
        "color": "#57534e",
        "type": "dotted"
      }
    }
  ]
}
