{
 "title": {
  "text": "World growth and inflation: the year of a Brent spike vs the year after",
  "left": 8,
  "top": 6,
  "textStyle": {
   "fontSize": 14,
   "fontWeight": 600
  }
 },
 "legend": {
  "top": 30,
  "left": "center",
  "data": [
   "Spike year",
   "Following year"
  ]
 },
 "grid": [
  {
   "left": 60,
   "right": "55%",
   "top": 70,
   "bottom": 40
  },
  {
   "left": "55%",
   "right": 30,
   "top": 70,
   "bottom": 40
  }
 ],
 "xAxis": [
  {
   "gridIndex": 0,
   "type": "value",
   "min": -1,
   "max": 8,
   "name": "World real GDP growth (%)",
   "nameLocation": "middle",
   "nameGap": 24,
   "nameTextStyle": {
    "color": "#4a5560",
    "fontSize": 11
   },
   "axisLabel": {
    "color": "#4a5560",
    "formatter": "{value}%"
   },
   "splitLine": {
    "lineStyle": {
     "color": "#e5e9ec"
    }
   }
  },
  {
   "gridIndex": 1,
   "type": "value",
   "min": 0,
   "max": 28,
   "name": "World CPI inflation (%)",
   "nameLocation": "middle",
   "nameGap": 24,
   "nameTextStyle": {
    "color": "#4a5560",
    "fontSize": 11
   },
   "axisLabel": {
    "color": "#4a5560",
    "formatter": "{value}%"
   },
   "splitLine": {
    "lineStyle": {
     "color": "#e5e9ec"
    }
   }
  }
 ],
 "yAxis": [
  {
   "gridIndex": 0,
   "type": "category",
   "data": [
    "1990",
    "1999",
    "2000",
    "2004",
    "2005",
    "2008",
    "2011",
    "2018",
    "2021",
    "2022"
   ],
   "inverse": true,
   "axisLabel": {
    "color": "#4a5560"
   },
   "axisLine": {
    "lineStyle": {
     "color": "#4a5560"
    }
   }
  },
  {
   "gridIndex": 1,
   "type": "category",
   "data": [
    "1990",
    "1999",
    "2000",
    "2004",
    "2005",
    "2008",
    "2011",
    "2018",
    "2021",
    "2022"
   ],
   "inverse": true,
   "axisLabel": {
    "show": false
   },
   "axisLine": {
    "lineStyle": {
     "color": "#4a5560"
    }
   }
  }
 ],
 "series": [
  {
   "name": "Spike year",
   "type": "scatter",
   "xAxisIndex": 0,
   "yAxisIndex": 0,
   "data": [
    [
     3.225943,
     0
    ],
    [
     3.56726,
     1
    ],
    [
     4.797814,
     2
    ],
    [
     5.263439,
     3
    ],
    [
     4.712692,
     4
    ],
    [
     2.930436,
     5
    ],
    [
     4.100359,
     6
    ],
    [
     3.642673,
     7
    ],
    [
     6.653434,
     8
    ],
    [
     3.773925,
     9
    ]
   ],
   "symbolSize": 9,
   "color": "#1f6f8b",
   "label": {
    "show": true,
    "position": "right",
    "color": "#1f6f8b",
    "fontSize": 9.5
   }
  },
  {
   "name": "Following year",
   "type": "scatter",
   "xAxisIndex": 0,
   "yAxisIndex": 0,
   "data": [
    [
     2.47484,
     0
    ],
    [
     4.797814,
     1
    ],
    [
     2.480328,
     2
    ],
    [
     4.712692,
     3
    ],
    [
     5.286045,
     4
    ],
    [
     -0.357571,
     5
    ],
    [
     3.387123,
     6
    ],
    [
     2.956766,
     7
    ],
    [
     3.773925,
     8
    ],
    [
     3.327812,
     9
    ]
   ],
   "symbolSize": 9,
   "color": "#e07b39",
   "label": {
    "show": true,
    "position": "right",
    "color": "#e07b39",
    "fontSize": 9.5
   }
  },
  {
   "name": "Spike year",
   "type": "scatter",
   "xAxisIndex": 1,
   "yAxisIndex": 1,
   "data": [
    [
     25.392807,
     0
    ],
    [
     6.187812,
     1
    ],
    [
     4.963142,
     2
    ],
    [
     3.773577,
     3
    ],
    [
     3.986288,
     4
    ],
    [
     6.256572,
     5
    ],
    [
     4.949552,
     6
    ],
    [
     3.643548,
     7
    ],
    [
     4.706378,
     8
    ],
    [
     8.67364,
     9
    ]
   ],
   "symbolSize": 9,
   "color": "#1f6f8b"
  },
  {
   "name": "Following year",
   "type": "scatter",
   "xAxisIndex": 1,
   "yAxisIndex": 1,
   "data": [
    [
     16.813716,
     0
    ],
    [
     4.963142,
     1
    ],
    [
     4.686158,
     2
    ],
    [
     3.986288,
     3
    ],
    [
     3.924177,
     4
    ],
    [
     2.641172,
     5
    ],
    [
     4.007413,
     6
    ],
    [
     3.558459,
     7
    ],
    [
     8.67364,
     8
    ],
    [
     6.749274,
     9
    ]
   ],
   "symbolSize": 9,
   "color": "#e07b39"
  }
 ],
 "tooltip": {
  "trigger": "item"
 }
}