working on my d3 code