D3: What is a Bisector?
The underlying idea behind bisect is this: Consider the array that you mention – var data = [3, 6, 2, 7, 5, 4, 8] You want to insert a new value let’s say 3.5 into data array and want to know how would that ‘partition’ it. In other words, you want to know what would … Read more