{
  "title": {
    "text": "Ukraine electricity generation by source",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" }
  },
  "tooltip": {
    "trigger": "axis",
    "axisPointer": { "type": "line" }
  },
  "legend": {
    "type": "scroll",
    "bottom": 0,
    "textStyle": { "fontSize": 11 }
  },
  "grid": {
    "left": 56,
    "right": 20,
    "top": 48,
    "bottom": 72,
    "containLabel": true
  },
  "xAxis": {
    "type": "category",
    "data": ["2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023"],
    "name": "Year",
    "nameLocation": "middle",
    "nameGap": 28,
    "axisTick": { "alignWithLabel": true }
  },
  "yAxis": {
    "type": "value",
    "name": "TWh",
    "nameLocation": "middle",
    "nameGap": 42,
    "min": 0
  },
  "color": ["#1f4e79", "#5c4a3a", "#c47b3a", "#8a8a8a", "#2a7f7f", "#d4a017", "#5f8f3a", "#7a5c8a"],
  "series": [
    {
      "name": "Nuclear",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [89.15, 90.25, 90.14, 83.21, 88.39, 87.63, 80.95, 85.58, 84.4, 83.0, 76.2, 86.21, 62.07, 51.99]
    },
    {
      "name": "Coal",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [69.76, 74.49, 80.42, 81.01, 70.49, 56.06, 61.21, 49.27, 49.02, 45.4, 40.04, 36.53, 23.34, 22.83]
    },
    {
      "name": "Natural gas",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [15.7, 18.45, 16.04, 13.98, 12.71, 10.1, 9.83, 7.38, 10.57, 11.93, 14.19, 14.34, 5.33, 6.03]
    },
    {
      "name": "Other non-renewable",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [1.34, 1.07, 1.05, 1.06, 1.06, 2.79, 3.33, 2.94, 2.84, 1.94, 2.22, 2.16, 2.11, 2.13]
    },
    {
      "name": "Hydropower",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [12.64, 10.43, 10.48, 13.8, 8.48, 5.4, 7.67, 8.95, 10.43, 6.51, 5.73, 6.67, 7.1, 8.2]
    },
    {
      "name": "Solar PV",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [0.0, 0.03, 0.33, 0.57, 0.87, 0.92, 0.94, 1.18, 1.63, 3.67, 7.14, 7.85, 7.35, 8.05]
    },
    {
      "name": "Onshore wind",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [0.05, 0.09, 0.29, 0.64, 1.37, 1.31, 1.17, 1.82, 1.4, 2.24, 3.51, 3.04, 0.77, 1.11]
    },
    {
      "name": "Bioenergy",
      "type": "line",
      "stack": "gen",
      "areaStyle": { "opacity": 0.9 },
      "showSymbol": false,
      "emphasis": { "focus": "series" },
      "data": [0.19, 0.13, 0.13, 0.11, 0.17, 0.2, 0.17, 0.21, 0.3, 0.41, 0.76, 0.76, 0.66, 0.73]
    }
  ]
}
