Blog87.3K views4,930 votes0 replies2,626 following
Use a keyed D3 data join to stop reordered data from reusing the wrong DOM nodes
A practical guide to D3’s data join pattern: bind data by identity, handle enter and exit selections, and merge updates without reusing the wrong nodes.