d3 path transition (merged)