API REFERENCE
HistogramBinning
The HistogramBinning type declaration and related types. Optional fields are marked with ?.
Type declaration
export interface HistogramBinning {
readonly rule: HistogramBinsRule | 'bin-width';
readonly kind: 'count' | 'width' | 'bin-width';
readonly count: number;
readonly width: number;
readonly n: number;
readonly sigma: number | null;
readonly iqr: number | null;
readonly fallback?: 'scott' | 'square-root';
}