d3 edits