UK Grid Greening

UK Grid Greening

Here’s a littel bit of mucking about to show how the UK Electricity grid has “Greened” over time. It is taking the data from UK grid predictions and from ONS actual data and I’ve plonked it into a standard mermaid graph. Once I find a prettier solution I’ll add some other stats that i like to keep an eye on

---
config:
    xyChart:
        width: 1400
        height: 600
    themeVariables:
        xyChart:
            titleColor: "#ff0000"
---
xychart-beta
    title "UK Electricity Grid Greening"
    x-axis [2010,2011,2012,2013,2014,2025,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047,2048,2049,2050]
    y-axis "kgCO2e/kWh" 0 --> 0.6
    bar [0.489616234,0.47068806,0.52004578,0.483518529,0.43447332,0.363670279,0.290885163,0.260306767,0.241334478,0.218320716,0.193766616,0.212826641,0.154721428,0.143091135,0.148730085,0.129055494,0.096387254,0.071830956,0.062258,0.052597546,0.048525623,0.040770093,0.032109307,0.025484701,0.020498765,0.019773591,0.019271319,0.018001716,0.017571283,0.016518991,0.015739137,0.015003872,0.014244448,0.008964068,0.00833157,0.007745136,0.007573948,0.005233889,0.005087561,0.003225143,0.00245518]
YearkgCO2e/kWh
20100.489616234
20110.47068806
20120.52004578
20130.483518529
20140.43447332
20150.363670279
20160.290885163
20170.260306767
20180.241334478
20190.218320716
20200.193766616
20210.212826641
20220.154721428
20230.143091135
20240.148730085
20250.129055494
20260.096387254
20270.071830956
20280.062258
20290.052597546
20300.048525623
20310.040770093
20320.032109307
20330.025484701
20340.020498765
20350.019773591
20360.019271319
20370.018001716
20380.017571283
20390.016518991
20400.015739137
20410.015003872
20420.014244448
20430.008964068
20440.00833157
20450.007745136
20460.007573948
20470.005233889
20480.005087561
20490.003225143
20500.00245518