rank               nation  gold  silver  bronze  total
0      1  united states (usa)     6       2       1      9
1      2         brazil (bra)     2       6       3     11
2      3      australia (aus)     1       0       1      2
3      3        germany (ger)     1       0       1      2
4      5          china (chn)     0       1       1      2
5      6          spain (esp)     0       1       0      1
6      7         canada (can)     0       0       1      1
7      7         latvia (lat)     0       0       1      1
8      7    switzerland (sui)     0       0       1      1
9  total                total    10      10      10     30

Table as JSON:
{"rank":{"0":"1","1":"2","2":"3","3":"3","4":"5","5":"6","6":"7","7":"7","8":"7","9":"total"},"nation":{"0":"united states (usa)","1":"brazil (bra)","2":"australia (aus)","3":"germany (ger)","4":"china (chn)","5":"spain (esp)","6":"canada (can)","7":"latvia (lat)","8":"switzerland (sui)","9":"total"},"gold":{"0":6,"1":2,"2":1,"3":1,"4":0,"5":0,"6":0,"7":0,"8":0,"9":10},"silver":{"0":2,"1":6,"2":0,"3":0,"4":1,"5":1,"6":0,"7":0,"8":0,"9":10},"bronze":{"0":1,"1":3,"2":1,"3":1,"4":1,"5":0,"6":1,"7":1,"8":1,"9":10},"total":{"0":9,"1":11,"2":2,"3":2,"4":2,"5":1,"6":1,"7":1,"8":1,"9":30}}