A Javascript implementation of a region quadtree (or at least my interpretation of it). The two-dimensional field is split into regions, which may only contain a set maximum amount of points (Capacity per Region). The color of each region indicates its "load" – the lighter the color, the more points still fit into the region.
Inspired by this article on Wikipedia. To get a picture similar to the one in the article, set Capacity per Region to 1 and disable Fill Regions!