Updated to d3.js v3.