adding d3 output