d3.js chart done