Slightly simpler version using d3_zero.

As suggested by @mbostock.  Note that we preserve the behaviour for
ranges that are coerced to NaNs.