{"entity":{"iso2":"MA","iso3":"MAR","name":"Morocco","slug":"morocco"},"indicator":{"licence":"CC BY 4.0 (Our World in Data)","slug":"electricity-production-by-source","source":"Ember (2026) and other sources \u2013 with major processing by Our World in Data","source_url":"https://ourworldindata.org/grapher/electricity-production-by-source","title":"Electricity production by source","unit":"terawatt-hours"},"observations":[{"date":"2000-01-01","value":9.4},{"date":"2001-01-01","value":12.11},{"date":"2002-01-01","value":11.42},{"date":"2003-01-01","value":11.58},{"date":"2004-01-01","value":12.35},{"date":"2005-01-01","value":12.39},{"date":"2006-01-01","value":12.49},{"date":"2007-01-01","value":12.04},{"date":"2008-01-01","value":11.27},{"date":"2009-01-01","value":10.51},{"date":"2010-01-01","value":10.32},{"date":"2011-01-01","value":11.27},{"date":"2012-01-01","value":11.37},{"date":"2013-01-01","value":12.14},{"date":"2014-01-01","value":15.95},{"date":"2015-01-01","value":17.11},{"date":"2016-01-01","value":16.99},{"date":"2017-01-01","value":17.55},{"date":"2018-01-01","value":21.26},{"date":"2019-01-01","value":26.9},{"date":"2020-01-01","value":27.21},{"date":"2021-01-01","value":28.28},{"date":"2022-01-01","value":29.0},{"date":"2023-01-01","value":27.15},{"date":"2024-01-01","value":26.18},{"date":"2025-01-01","value":27.37}],"summary":{"latest_period":"2025-01-01","latest_value":27.37,"max":29.0,"mean":16.985,"min":9.4,"of":211,"rank":20,"trend":"rising"}}
