started d3 code