@uwdata/mosaic-plot
Version:
A Mosaic-powered plotting framework based on Observable Plot.
9 lines • 454 B
TypeScript
/**
* Generates a SQL expression for 1D pixel-level binning.
* Adjusts for scale transformations (log, sqrt, ...).
* Returns a [binExpression, field] array, where field is the
* input value being binned. Often the field is just a column
* name. For time data, fields are mapped to millisecond timestamps.
*/
export function binExpr(mark: any, channel: any, n: any, extent: any, pad: number, expr: any): any[];
//# sourceMappingURL=bin-expr.d.ts.map