const histogram = d3.histogram() .domain([ 0, 100 ]) const bins = histogram( [ 8, 11, 32, 24, 66, 88, 58, 99 ] ) console.log(bins) // [ // { 0: 8, 1: 11, ...
確定! 回上一頁