Note, the medal counts are currently using total individual medals won not the country medals won. Hence a team sport will have a count for every person who won a medal. Thanks for the heads up by @gr33ndata and the others who picked it up.
This is a product of an internal hack day at pebble {code}. Data sourced from databaseolympics.com.
Related blog post: http://blog.pebblecode.com/post/27976232997/olympics-hackery.