While studying how d3-quadtree was built, I wanted to be able to interactively modify a quadtree.
This is a remix of Mike Bostock’s example.
In diving through d3-quadtree, one finds “fun” bits of code like this one.