mbostock/d3 — pull request #462 by natevw (2012-01-24 05:53:26+00:00)
Title: Basic array bisect accessor implementation

Here's a basic implementation of accessors for array bisect methods for #451. Couple potential issues though:

- Should the accessor also be applied to the `x` (search) value? For my current use case or two, the answer is a pretty decided "no" (I'm typically looking for an object near a raw time or similar value) but perhaps this is not consistent with other accessor-taking methods?

- Would it be useful to change the argument order, or at least look for null in the initial lo/hi arguments? At least with something like `bisect` it should be fairly a safe assumption the caller has the array referenced by a variable, but it still seems unfortunate that using an accessor would require explicitly providing the (heretofore optional) search-limiting arguments: `d3.bisect(a, 0, a.length, acc)`