d3 elements in place