adding d3 and charts