jondot/graphene — pull request #3 by mgarski (2012-03-12 20:32:49+00:00)
Title: Handle case of 0 for min or max values

The use of "return null unless min" will return null for a value of 0, which can be valid. d3.min and d3.max return undefined for an empty array, so check for that explicitly.