IBoxPlotStats

interface
Data & Models

Five-number summary and outlier list produced by the computeQuartiles utility — exported so consumers can type the return value without importing the utility directly.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

min
required
number
Minimum non-outlier value (lower whisker tip).
q1
required
number
First quartile (25th percentile).
median
required
number
Median (50th percentile).
q3
required
number
Third quartile (75th percentile).
max
required
number
Maximum non-outlier value (upper whisker tip).
iqr
required
number
Interquartile range — IQR = Q3 − Q1.
outliers
required
Array<number>
Values outside the 1.5·IQR fences.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Typing computeQuartiles return value

typescript