emeeks
This is the code for Chapter 11, Figure 14 from D3.js in Action demonstrating d3.svg.brush() XY-brushing that uses d3.geom.quadtree() to dramatically improve spatial query performance.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js