The plots on this page are updated by running the scripts periodically, to prevent being rate-limited, so they may be out of date with the latest competitions
All code is: scrape.py
(for scraping medal counts, crudely right now using Selenium becuase it was easy to do) and render.py to make the plotsTo clarify, points for each country are calculated by the following formula:
Where Geq is total equivalent gold medals, G is actual won gold medals, S is silver medals, and B is bronze medals. xBS is the factor of Bronze medals per Silver medal and xSG is the factor of Silver medals per Gold Medal
We have charts for the following scenarios:
For this chart to fit on 2 dimensions, we simplify xSG=xBS (ratio of silver to gold = ratio of bronze to silver)
This is the 1 chart to look at to answer 'who is winning' for a given gold->silver (and equal silver->bronze) multipler
Each x-position here is a factor that a country's bronze medals are divided by to reach "silver equivalents", which are then summed with actual silver medals. Then all "silver equivalents" are divided by this factor again to reach "gold equivalents". High value on x-axis means non-gold medals are worth less. For example, a "silver per gold" ratio of 25 means that each silver medal is 1/25 th of a gold and each bronze is 1/625 th of gold.
y-values are equivalent gold medals for each country with the chosen ratios, Normalized against the winning country at that ratio (as valuing silver/bronze less means there are fewer points overall)
For this chart to fit on 2 dimensions, we simplify xSG=xBS (ratio of silver to gold = ratio of bronze to silver)
Same as above, only points are absolute rather than normalized by winning country's points
For this chart to fit on 2 dimensions, we simplify xSG=xBS (ratio of silver to gold = ratio of bronze to silver)
Here we simply rank countries at each ratio, so we don't care by how much a country wins, just if they do. Clear points at which countries swap positions are visible, along with the ripple effects on lower ranked countries.
Ties are assigned the same rank, so the tie at the beginning (all medals worth 1 point) between many nations is very evident, but later ties may not be (since only one color can be shown for a given pixel, a country's line here could mask another's if they have the same rank)
For the full picture, here we show a 2D plot for each country mapping xBS to the x-axis and xSG to the y-axis