This is an example of working with the selection.each() function in d3.js.
Implemented in response to: @dchud’s question on twitter.