Practice Example 1 Refactoring to d3.js (http://www.ibm.com/developerworks/library/os-dataviz1/index.html)