Box Plot¶
In descriptive statistics, a Box Plot is a method for graphically depicting groups of numerical data through their quartiles. Box Plots may also have lines extending vertically from the boxes (whiskers) indicating variability outside the upper and lower quartiles, hence the terms box-and-whisker plot and box-and-whisker diagram. Box Plots are non-parametric: they display variation in samples of a statistical population without making any assumptions of the underlying statistical distribution. The spacings between the different parts of the box indicate the degree of dispersion (spread) and skewness in the data.
Box Plot Elements: The following image shows the basic elements of the boxplot supported by the ChartFactor Toolkit.
The following code shows how to create a simple Box Plot using the ChartFactor Toolkit:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Previous code will render a Box Plot like follow:
Without Group: Box Plot supports no group, is the simplest example of this chart. Notice that by default quartiles are printed in the chart.
The following code shows how to set serie label to Box Plot without group.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
Serie Label¶
The following are the supported settings:
- show:
true
|false
. - rotate:
Number
from0
to360
. - fontSize:
Number
. - fontStyle:
normal
|italic
|oblique
. - fontWeight:
normal
|bold
|bolder
|lighter
. - color: text Color. By default is
inherit
. - position:
top
|left
|right
|bottom
|alternate
. By default isalternate
.