Ember released their global electricity report today
This has openly licensed country-level data on power generation and carbon intensity of electricity, from 2021 all the way back to 2000, that is nice and easy to download, and explore here:
The data is licensed CC-BY-SA 4.0: