Skip to content

Interface: CategorySpec<F> ​

Defined in: packages/core/src/types.ts:67

Categorical dimension: one bin per distinct value.

Type Parameters ​

Type ParameterDefault type
F extends stringstring

Properties ​

PropertyModifierTypeDescription
fieldreadonlyF-
kindreadonly"category"-
limit?readonlynumberKeep only the limit most frequent values; the rest share one bin.
otherLabel?readonlystringLabel of the shared bin when limit is set.

Released under the MIT License.