Scale.ticks returns a single value for a degenerate domain.

This diverges from the behavior of python's range() but seems more correct for display purposes.

    d3.scale.linear().domain([1,1]).ticks(1)
    > [1]