mbostock/d3 — pull request #598 by jasondavies (2012-03-21 18:30:04+00:00)
Title: Ordinal scale inversion

For use with d3.svg.brush e.g. for brushing histograms with ordinal scales. This is a very simple implementation; ideally we want to take into account the current type of range in use.

If I'm headed in the right direction, I'd be happy to improve it and add tests. :)