Skip to content

@urban-toolkit/autk-plot


@urban-toolkit/autk-plot / Binning1dTransformConfig

Type Alias: Binning1dTransformConfig ​

Binning1dTransformConfig = object

Defined in: api.ts:106

Binning-1d preset config.

The column to bin is read from PlotConfig.attributes.axis[0]. Use '@transform' in axis[1] to mark the output slot.

Properties ​

options? ​

optional options?: object

Defined in: api.ts:108

bins? ​

optional bins?: number

Number of bins for quantitative attributes. Defaults to 10.

reducer? ​

optional reducer?: TransformReducer

Reducer applied within each bin. Defaults to 'count'.

value? ​

optional value?: string

Feature property to aggregate for non-count reducers. Required when reducer is not 'count'.


preset ​

preset: "binning-1d"

Defined in: api.ts:107

Released under the MIT License.