nation  gold  silver  bronze  total
0   united states    12       6       7     25
1          russia     4       4       2     10
2           spain     4       2       2      8
3           china     3       5       6     14
4          france     3       3       2      8
5     netherlands     3       2       1      6
6          brazil     3       1       4      8
7    south africa     2       1       0      3
8       australia     1       7       3     11
9         tunisia     1       1       2      4
10        germany     1       1       1      3
11         sweden     1       1       1      3
12      venezuela     1       1       0      2
13          japan     1       0       0      1
14        denmark     0       1       2      3
15        hungary     0       1       2      3
16        austria     0       1       1      2
17          italy     0       1       1      2
18  great britain     0       1       0      1
19        ukraine     0       1       0      1
20        bahamas     0       0       1      1
21         norway     0       0       1      1
22          total    40      41      39    120

Table as JSON:
{"nation":{"0":"united states","1":"russia","2":"spain","3":"china","4":"france","5":"netherlands","6":"brazil","7":"south africa","8":"australia","9":"tunisia","10":"germany","11":"sweden","12":"venezuela","13":"japan","14":"denmark","15":"hungary","16":"austria","17":"italy","18":"great britain","19":"ukraine","20":"bahamas","21":"norway","22":"total"},"gold":{"0":12,"1":4,"2":4,"3":3,"4":3,"5":3,"6":3,"7":2,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":40},"silver":{"0":6,"1":4,"2":2,"3":5,"4":3,"5":2,"6":1,"7":1,"8":7,"9":1,"10":1,"11":1,"12":1,"13":0,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":0,"21":0,"22":41},"bronze":{"0":7,"1":2,"2":2,"3":6,"4":2,"5":1,"6":4,"7":0,"8":3,"9":2,"10":1,"11":1,"12":0,"13":0,"14":2,"15":2,"16":1,"17":1,"18":0,"19":0,"20":1,"21":1,"22":39},"total":{"0":25,"1":10,"2":8,"3":14,"4":8,"5":6,"6":8,"7":3,"8":11,"9":4,"10":3,"11":3,"12":2,"13":1,"14":3,"15":3,"16":2,"17":2,"18":1,"19":1,"20":1,"21":1,"22":120}}