{
  "title": {
    "text": "Hungary's electricity mix, 2000–2023",
    "left": "center",
    "textStyle": { "fontSize": 16, "fontWeight": 600, "color": "#17212b" }
  },
  "legend": {
    "top": 36,
    "left": "center",
    "itemWidth": 14,
    "itemHeight": 10,
    "textStyle": { "fontSize": 11, "color": "#17212b" }
  },
  "grid": { "left": 16, "right": 24, "top": 88, "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"],
    "axisLabel": { "interval": 2, "color": "#334155" },
    "axisLine": { "lineStyle": { "color": "#94a3b8" } }
  },
  "yAxis": {
    "type": "value",
    "name": "GWh",
    "nameTextStyle": { "color": "#334155" },
    "axisLabel": { "color": "#334155" },
    "splitLine": { "lineStyle": { "color": "#e2e8f0" } }
  },
  "color": ["#1f4e79", "#c2410c", "#57534e", "#ca8a04", "#a8a29e", "#0f766e", "#2563eb", "#7c3aed"],
  "series": [
    {
      "name": "Nuclear",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [14180.0,14126.0,13953.0,11013.0,11915.0,13834.0,13461.0,14677.0,14818.0,15426.0,15761.0,15685.0,15793.0,15370.0,15649.0,15834.0,16054.0,16098.0,15733.0,16288.0,16055.0,15990.0,15812.0,15918.0]
    },
    {
      "name": "Coal and peat",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [9707.0,8923.0,9063.0,9254.0,8339.0,7146.0,7092.0,7487.0,7205.0,6415.0,6350.0,6609.0,6492.0,6384.0,6114.0,5908.0,5758.0,5098.0,4834.0,4184.0,3826.0,3105.0,3064.0,2509.0]
    },
    {
      "name": "Natural gas",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [6602.0,8861.0,10738.0,11883.0,11719.0,12379.0,13160.0,15232.0,15176.0,10422.0,11598.0,10738.0,9401.0,5541.0,4240.0,5108.0,6479.0,7869.0,7282.0,8700.0,9091.0,9653.0,8873.0,7279.0]
    },
    {
      "name": "Solar PV",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.3,0.55,0.65,0.85,1.44,7.91,24.62,67.0,141.0,244.0,349.0,629.0,1497.0,2459.0,3796.0,4732.0,6925.0]
    },
    {
      "name": "Other",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [120.0,126.0,71.0,194.0,751.0,1730.0,1396.0,1709.0,2052.0,2452.0,2449.01,1994.01,1773.0,1965.0,2299.0,2365.0,2361.0,2437.0,2669.0,2603.0,2555.0,2641.0,2473.36,1991.52]
    },
    {
      "name": "Onshore wind",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [0.0,1.0,1.0,4.0,5.55,10.1,43.36,110.0,204.83,330.93,533.79,625.69,769.99,717.51,656.54,693.32,683.69,758.0,607.0,729.0,655.0,664.0,610.0,646.0]
    },
    {
      "name": "Hydropower",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [178.0,186.0,194.0,171.0,204.68,202.15,185.75,209.99,212.95,228.29,188.38,222.03,212.94,213.13,301.48,233.71,259.32,220.0,222.0,219.0,244.0,212.0,178.0,222.0]
    },
    {
      "name": "Oil",
      "type": "line",
      "stack": "mix",
      "smooth": false,
      "showSymbol": false,
      "lineStyle": { "width": 0 },
      "areaStyle": { "opacity": 0.95 },
      "emphasis": { "focus": "series" },
      "data": [4404.0,4192.0,2137.0,1626.0,773.0,455.0,521.0,535.0,355.0,633.0,490.0,144.0,185.0,78.0,76.0,77.0,63.0,86.0,91.0,71.0,45.0,59.3,59.4,55.3]
    }
  ]
}
