(The US has its own table which bases things on total medals, but everywhere else they count golds, then silvers, then bronzes).
Great performance.
Although actually, China hugely under-performed in Rio (versus London).
US was top of this table as always. Dominance in the swimming pool makes it more or less a foregone conclusion. But they did extremely well on the track as well.
Now to the serious stuff.
GB is likely to come in in 13th on a gold medals per capita basis. USA in 30th. China in 54th. So none are even close to winning the Olympics on a gold medal per capita basis.
The winner of this Olympics on a gold medal per capita basis was ..... drum roll please ..... the Bahamas.
Grenada loses its gold medal laurel wreath from London. But it keeps it on a total medals per capita basis (having won a single medal again).
http://www.medalspercapita.com/#golds-per-capita:2016