iboxplot: use d3.extent rather than loop