Upgraded to d3.js v3