@visactor/vdataset
Version:
data processing tool
22 lines (21 loc) • 514 B
TypeScript
import type { Transform } from '.';
export interface IBinOptions {
field: string;
countField?: string;
bins?: number;
thresholds?: number[];
step?: number;
extent?: [number, number];
includeValues?: boolean;
groupField?: string | string[];
facetField?: string | string[];
outputNames?: {
x0?: string;
x1?: string;
count?: string;
values?: string;
percentage?: string;
};
}
export declare const bin: Transform;
export default bin;