If `d3.min(extents)` returns zero the expression will evaluate to false. Is that what you intended?