rank         nation  gold  silver  bronze  total
0     1          china     1       1       0      2
1     2  united states     1       0       3      4
2     3       bulgaria     1       0       0      1
3     3    switzerland     1       0       0      1
4     5         canada     0       1       0      1
5     5         france     0       1       0      1
6     5          japan     0       1       0      1
7     8         russia     0       0       1      1

Table as JSON:
{"rank":{"0":1,"1":2,"2":3,"3":3,"4":5,"5":5,"6":5,"7":8},"nation":{"0":"china","1":"united states","2":"bulgaria","3":"switzerland","4":"canada","5":"france","6":"japan","7":"russia"},"gold":{"0":1,"1":1,"2":1,"3":1,"4":0,"5":0,"6":0,"7":0},"silver":{"0":1,"1":0,"2":0,"3":0,"4":1,"5":1,"6":1,"7":0},"bronze":{"0":0,"1":3,"2":0,"3":0,"4":0,"5":0,"6":0,"7":1},"total":{"0":2,"1":4,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1}}