foldkit-viz - v0.15.0
    Preparing search index...

    Function scaleQuantile

    • Maps sorted input data to a discrete range by quantile thresholds. D3 scaleQuantile parity.

      Type Parameters

      • T

      Parameters

      • data: readonly number[]
      • range: readonly T[]

      Returns (value: number) => T | undefined