Adding d3 chart