statBoxplot
The statBoxplot function creates a new plotting context with new dataset which contains the "boxplot" statistic calculated on sample of a single numeric variable y in several groups defined by x. It serves as a statistical visualization technique, illustrating the distribution and summary statistics of a dataset in a graphical format.
Arguments
X
Type of x categories
x
Required
Iterable Column String
The x argument is used to provide the x-categories of sample (one boxplot will be counted for each category).
y
Required
Iterable Column String
The y argument is used to provide the sample on which the statistic is computed.
whiskerIQRRatio
Optional
Double
The whiskerIQRRatio argument is used to determine the interquartile range multiplier of whiskers lengths.
Statistic properties
In this context, there are the following statistical properties that can be used to create mappings, customize tooltips, etc.
Stat.x
Column<X>
The Stat.x contains boxplot x category.
Stat.min
Column<Double>
The Stat.min contains lower whisker ends - the minimum non-outlier data point.
Stat.lower
Column<Double>
The Stat.lower contains lower box edges - the first quartile (Q1).
Stat.middle
Column<Double>
The Stat.middle contains medians - the second quartile (Q2).
Stat.upper
Column<Double>
The Stat.upper contains upper box edges - the third quartile (Q3).
Stat.max
Column<Double>
The Stat.upper contains upper whisker ends - the maximum non-outlier data point.