Tweaking the extent[] calculation for a zero-length range to prevent crashes and 'odd' d3.format() strings such as ",.Infinityf" being generated by D3. Sometimes, a little boundary error checking has it's place.