Interface: BinOptions
Defined in: packages/core/src/specs.ts:13
Options for bin. Set at most one of step, bins or interval.
Properties
| Property | Type | Description |
|---|---|---|
bins? | number | Bin count across the extent. Default 20 when neither step nor interval is set. |
clamp? | boolean | Keep out-of-range values in the edge bins. |
extent? | readonly [number, number] | Bin range; defaults to the data's min and max. |
interval? | TimeInterval | Calendar interval for date columns (UTC). |
scale? | "linear" | "log" | log bins evenly in log10 space. |
step? | number | Linear bin width in data units. |