d3 chart working