{
  "title": {
    "text": "World electricity capacity: renewables pass fossil fuels",
    "left": "center",
    "textStyle": {
      "fontSize": 16,
      "fontWeight": 600,
      "color": "#17212b"
    }
  },
  "tooltip": {
    "trigger": "axis"
  },
  "legend": {
    "data": [
      "Fossil-fuel capacity",
      "Renewable capacity",
      "Total non-renewable capacity"
    ],
    "bottom": 0,
    "textStyle": {
      "color": "#17212b"
    }
  },
  "grid": {
    "left": 16,
    "right": 24,
    "top": 48,
    "bottom": 64,
    "containLabel": true
  },
  "xAxis": {
    "type": "category",
    "name": "Year-end",
    "nameLocation": "middle",
    "nameGap": 28,
    "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"
    ],
    "axisLabel": {
      "interval": 4,
      "hideOverlap": true
    }
  },
  "yAxis": {
    "type": "value",
    "name": "GW",
    "nameLocation": "middle",
    "nameGap": 48,
    "min": 0,
    "splitLine": {
      "lineStyle": {
        "color": "#d7dee6"
      }
    }
  },
  "series": [
    {
      "name": "Fossil-fuel capacity",
      "type": "line",
      "data": [
        2244.5,
        2315.4,
        2415.2,
        2538.4,
        2622.1,
        2718.4,
        2852.9,
        2977.0,
        3078.9,
        3194.2,
        3336.0,
        3461.4,
        3578.4,
        3682.0,
        3805.3,
        3909.0,
        4000.0,
        4084.8,
        4212.4,
        4266.8,
        4332.5,
        4387.2,
        4438.1,
        4499.6,
        4525.8,
        4629.7
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "color": "#9c3b2e",
        "type": "solid"
      },
      "itemStyle": {
        "color": "#9c3b2e"
      },
      "emphasis": {
        "focus": "series"
      }
    },
    {
      "name": "Renewable capacity",
      "type": "line",
      "data": [
        763.9,
        785.0,
        806.0,
        836.2,
        869.0,
        908.4,
        949.9,
        999.3,
        1062.4,
        1143.5,
        1226.5,
        1331.4,
        1446.2,
        1570.1,
        1700.0,
        1852.8,
        2021.3,
        2187.6,
        2358.1,
        2541.9,
        2811.1,
        3077.1,
        3379.2,
        3875.8,
        4461.6,
        5155.0
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 3,
        "color": "#1f7a4d",
        "type": "dashed"
      },
      "itemStyle": {
        "color": "#1f7a4d"
      },
      "emphasis": {
        "focus": "series"
      }
    },
    {
      "name": "Total non-renewable capacity",
      "type": "line",
      "data": [
        2689.5,
        2759.5,
        2867.5,
        2991.6,
        3083.7,
        3188.0,
        3326.3,
        3455.8,
        3558.5,
        3680.2,
        3828.7,
        3962.6,
        4075.7,
        4180.8,
        4314.4,
        4426.3,
        4532.1,
        4621.1,
        4759.8,
        4815.3,
        4877.6,
        4944.2,
        5021.2,
        5092.9,
        5139.0,
        5254.8
      ],
      "showSymbol": false,
      "lineStyle": {
        "width": 2,
        "color": "#4a5d73",
        "type": "dotted"
      },
      "itemStyle": {
        "color": "#4a5d73"
      },
      "emphasis": {
        "focus": "series"
      }
    }
  ]
}
