mbostock/d3 — pull request #871 by bdon (2012-10-27 04:29:07+00:00)
Title: 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]