linear-partitioning (npm): Given an array of numbers, partition them into a number of buckets, preserving order, where the ranges of each bucket are as close as possible.
Keywords: linear|partition|algorithm|buckets