quantize 是等分的意思
let scale=d3.scaleQuantize()
.domain([0,2,4,10])
.range([1,100])
console.log(scale(3));//100
let scale=d3.scaleQuantize()
.domain([0,2,4,10])
.range([1,100])
console.log(scale(3));//100