The animations are done with JQuery's .animate method, and since the stats are all across different ranges we're using D3's .scale and .quantize methods to normalize our positions.
If you have more specific JS questions than that I can point you at @golike who wrote all the code for this :)