Correction to: Nature Climate Change, published online 2 August 2022.

In the version of this article initially published, a typographical error, “kgCO2/kWh” rather than “gCO2/kWh,” appeared in the “Electricity supply scenarios” section of Table 1, in the Extended Data Fig. 4a–d y-axis labels and in the Supplementary Fig. 27a–d y-axis labels. The error has been corrected in the HTML and PDF versions of the article, and the Supplementary Information has been replaced online.