For that, each country maintains an official group that has access to death certificates and other records when preparing statistics. The figure I quoted, for instance, is from the South African Medical Research Council, who publish their methodology. There's also EuroMOMO and many others.
Did you really think that statisticians and scientists have just magically forgotten about how to do basic statistics, for decades, when preparing these reports?
Instead of using the normal measures of mean, average, standard deviation and percentiles, we just used "formula" and voila, here is answer. Ok I'm going to continue to be sceptical of such results..
I'm now convinced you just want to be a contrarian, rather than learning about a system you don't understand.
Why not just show standard deviation, median, average, percentile. Show the standard deviation in the graph.