{
  "title": {
    "text": "Cuba's electricity generation fell by nearly a third after 2018",
    "left": 0,
    "top": 0,
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "legend": {
    "top": 28,
    "left": 0,
    "itemWidth": 22,
    "textStyle": {
      "color": "#17212b"
    }
  },
  "grid": {
    "left": 72,
    "right": 20,
    "top": 72,
    "bottom": 52,
    "containLabel": false
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": {
      "type": "line"
    }
  },
  "xAxis": {
    "type": "category",
    "name": "Year",
    "nameLocation": "middle",
    "nameGap": 32,
    "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
    ],
    "axisLabel": {
      "interval": 3,
      "color": "#334155"
    },
    "axisLine": {
      "lineStyle": {
        "color": "#94a3b8"
      }
    }
  },
  "yAxis": {
    "type": "value",
    "name": "Gigawatt-hours",
    "nameLocation": "middle",
    "nameGap": 52,
    "min": 0,
    "max": 24000,
    "axisLabel": {
      "color": "#334155"
    },
    "splitLine": {
      "lineStyle": {
        "color": "#e2e8f0"
      }
    }
  },
  "series": [
    {
      "name": "Total generation",
      "type": "line",
      "symbol": "circle",
      "symbolSize": 7,
      "lineStyle": {
        "width": 2.5,
        "type": "solid",
        "color": "#173a5e"
      },
      "itemStyle": {
        "color": "#173a5e"
      },
      "data": [
        15032.2,
        15299.8,
        15698.800000000001,
        15810.5,
        15633.7,
        15341.099999999999,
        16468.39,
        17622.55,
        17681.34,
        17727.100000000002,
        17386.83,
        17759.399999999998,
        18531.0,
        19178.41,
        19400.12,
        20329.37,
        20502.13,
        20630.7,
        20952.15,
        20854.78,
        19232.14,
        18135.31,
        16029.54,
        15496.06,
        14509.95
      ]
    },
    {
      "name": "Oil-fired generation",
      "type": "line",
      "symbol": "triangle",
      "symbolSize": 8,
      "lineStyle": {
        "width": 2.5,
        "type": "solid",
        "color": "#c45c26"
      },
      "itemStyle": {
        "color": "#c45c26"
      },
      "data": [
        12334.6,
        12680.0,
        13034.0,
        12974.9,
        12514.2,
        12533.9,
        13365.6,
        14228.4,
        14096.03,
        14324.1,
        14206.53,
        14771.8,
        15474.0,
        16145.21,
        15626.61,
        16381.45,
        16502.51,
        16699.93,
        17235.86,
        17169.08,
        15908.02,
        15277.44,
        12975.6,
        12015.56,
        11074.56
      ]
    },
    {
      "name": "Natural-gas generation",
      "type": "line",
      "symbol": "diamond",
      "symbolSize": 8,
      "lineStyle": {
        "width": 2.5,
        "type": "dashed",
        "color": "#2a7f7f"
      },
      "itemStyle": {
        "color": "#2a7f7f"
      },
      "data": [
        1307.4,
        1257.5,
        1222.9,
        1611.0,
        1871.2,
        1937.2,
        2233.2,
        2493.3,
        2537.9,
        2380.8,
        2269.1,
        2053.7,
        2092.3,
        1986.6,
        2794.0,
        2950.1,
        2924.6,
        2801.6,
        2637.2,
        2449.8,
        2014.9,
        1580.4,
        1946.3,
        2498.7,
        2684.1
      ]
    }
  ]
}