d3-hexbin icon indicating copy to clipboard operation
d3-hexbin copied to clipboard

bin(point)?

Open Fil opened this issue 5 years ago • 0 comments

hexbin.bin(point) returns the bin that corresponds to the point, without adding the point.

When the bin is empty, we return an empty array with (x,y) properties.

But (partly because of that, and also because of rebin()), one must not trust that bin to stay up-to-date with additions and removals of points.

Fil avatar Aug 02 '19 22:08 Fil