The d3.scale-quantize function from d3