d3.histogram() Source. Constructs a new histogram ... var bins = histogram(numbers); ... Thus, the generated histogram will have thresholds.length + 1 bins.
確定! 回上一頁