mbostock/d3 — Issue #372: d3_scale_log.ticks() fails for very low-valued ranges
Author: jmarca
Created: 2011-11-10 20:27:22+00:00
State: open

I just added a comment in the text, but here is a test case:

d3.scale.log() .range([0, 665]) .domain([0.49999, 0.006029505943610648]).ticks()

will always produce an empty array.

If 0.4999 is upped to 0.5, the array is not empty.

It should not produce an empty array.