By Elijah Meeks

The following excerpt is from D3.js in Action‘s chapter on Big Data Visualization. This chapter focuses on techniques for using D3 to represent thousands of points of data rather than the dozens or hundreds typically seen in D3 examples. One of those techniques is to leverage D3’s quadtree search function to improve spatial search, which this excerpt explores in detail.

Optimizing xy data selection with quadtrees (PDF)