Adapted from http://tympanus.net/codrops/2013/02/06/interactive-infographic-with-svg-and-css-animations/.