On the other hand, none of the deaths are caused by the power generation, they are caused by the infrastructure built for that power generation. It just happens that there's no reason to dig up coal and build a massive furnace to burn it for no reason, but there are other reasons to build dams. So it would be better to compare dangers associated with that infrastructure (ie. dams vs coal power plants), but then it's comparing apples to oranges; there's no simple metric to compare these things.