covid note

Today I prepared a small statistics about countries and their dead toll by case numbers. here is the result. rightest column shows how many died in percentage. if numbers goes like this it shows that 3.5 percent of world will die from covid, it makes 260 million, hopefully they find a vaccine.

World223251287847483.521USA56562041750873.102Brazil34118721100193.223India2768670530261.924Russia937321159891.715South Africa592144122642.076Peru549321266584.857Mexico5312395777410.888Colombia489122156193.199Chile388855105462.7110Spain384270286707.4611Iran347835199725.7412UK3202864138112.9213Argentina30596660481.9814Saudi Arabia30132334701.1515Pakistan29044562012.1316Bangladesh28234437401.3217Italy2546363540513.9018Turkey25180560162.3919Germany22810593054.0820France2212673045113.7621

new mint version

I was reading, at the end of the page you will see a lot of donations in May.
I start wondering which country did donated max times. They already put the values, it is 14879 $ anyway I wrote a small code which works in console :)
m=new Map();
jQuery('.entry-content img.flag').each(function() {
n = this.src.split('/').pop().substring(0,2);
let count = m.get(n)
m.set(n, count ? count+1 : 1)
m[Symbol.iterator] = function* () {
yield* [...this.entries()].sort((a, b) => a[1] - b[1]);
for (let [key, value] of m) { // get data sorted
console.log(key + ' ' + value);

And the winner is USA :) you just need to open dev console, f12 is the shortcut key. and copy paste the code to see yourself. here is the screen gif