d3.bisectRight()

d3.bisect(array, x[, lo[, hi]])
d3.bisectRight(array, x[, lo[, hi]])

Similar to bisectLeft, but returns an insertion point which comes after (to the right of) any existing entries of x in array. The returned insertion point i partitions the array into two halves so that all v <= x for v in array.slice(lo, i) for the left side and all v > x for v in array.slice(i, hi) for the right side.

doc_D3_Js
2016-11-24 10:25:46
Comments
Leave a Comment

Please login to continue.