{
  "title": {
    "text": "Oil-fired electricity shrank as the world grid grew",
    "left": 0,
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" }
  },
  "legend": {
    "top": 28,
    "left": 0,
    "data": ["Oil-fired generation", "Oil share of world electricity"]
  },
  "grid": { "top": 72, "left": 56, "right": 56, "bottom": 48, "containLabel": true },
  "tooltip": { "trigger": "axis" },
  "xAxis": {
    "type": "category",
    "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],
    "boundaryGap": false,
    "axisLabel": { "color": "#3d4a54" }
  },
  "yAxis": [
    {
      "type": "value",
      "name": "TWh",
      "min": 0,
      "max": 1200,
      "nameTextStyle": { "color": "#3d4a54" },
      "axisLabel": { "color": "#3d4a54" },
      "splitLine": { "lineStyle": { "color": "#e6edf2" } }
    },
    {
      "type": "value",
      "name": "Percent",
      "min": 0,
      "max": 8,
      "nameTextStyle": { "color": "#3d4a54" },
      "axisLabel": { "color": "#3d4a54" },
      "splitLine": { "show": false }
    }
  ],
  "series": [
    {
      "name": "Oil-fired generation",
      "type": "line",
      "symbol": "circle",
      "symbolSize": 6,
      "lineStyle": { "width": 2.5, "type": "solid", "color": "#c45c26" },
      "itemStyle": { "color": "#c45c26" },
      "data": [1069.374, 1022.692, 1022.04, 1055.258, 1030.045, 1027.578, 955.242, 1001.57, 963.987, 923.155, 909.203, 990.302, 1075.088, 1029.921, 1021.394, 998.196, 910.945, 827.321, 783.503, 722.602, 661.498, 701.26, 749.117, 718.462]
    },
    {
      "name": "Oil share of world electricity",
      "type": "line",
      "yAxisIndex": 1,
      "symbol": "diamond",
      "symbolSize": 7,
      "lineStyle": { "width": 2.5, "type": "dashed", "color": "#1f6f8b" },
      "itemStyle": { "color": "#1f6f8b" },
      "data": [6.883, 6.536, 6.288, 6.267, 5.849, 5.593, 5.004, 5.031, 4.744, 4.564, 4.21, 4.445, 4.706, 4.383, 4.28, 4.114, 3.656, 3.225, 2.945, 2.676, 2.456, 2.478, 2.576, 2.408]
    }
  ]
}
