add d3 and chart