In the eia post, More than 60% of energy used for electricity is lost in conversion, by Bill Sanchez (7/21/2020), includes the flow diagram here. Note the flow across the top represents conversion losses.
Electricity is a secondary energy source that is produced when primary energy sources (for example, natural gas, coal, wind) are converted into electric power.
The technology and the type of fuel used to generate electricity affect the efficiency of power plants. For example, in 2019, of the 11.9 quads of natural gas consumed for electricity generation, natural gas plants converted 45% (5.4 quads) into net generation of electricity. By contrast, of the 10.2 quads of coal consumption, coal plants converted 32% (3.3 quads) into net generation.
The post has three other graphs and links to electricity data.