mbostock/d3 — Issue #337: d3.scale.linear.nice broken for 0 width domains
Author: moore
Created: 2011-10-10 21:23:27+00:00
State: open

> foo = d3.scale.linear().domain( [ 0 , 0 ] ).range( [ 1, 100 ] )
> foo(1)
1
> foo.nice()
> foo(1)
NaN