Visualisation/Boxplot

From Open Food Facts wiki
Jump to navigation Jump to search

The box plot summarises the statistics of the distribution of a variable (nutrient). This graph is especially suited for non-normal (non-gaussian) distributions. A typical bixplot contains the median, the mean, the quartiles, minimum/maximum and limits (lower/upper) of the distribution. Usually the X-axis lists one or more product sets, for instance products in a specific category. And the Y-axis shows the statistical parameters. The interquartile distance is drawn as a box. The limits as lines blow and above the box (the whiskers).

Example

The plot shows an example of a box plot with jittered datapoints. The data is based on 540 Canned Asparagus products and the carbohydrates value for these products is shown. The box represents the interquartiles range and thus describes 50% of the products. The lower whisker shows the minimum of the data and the upper whisker show the boundary based on a 1.5 Tukey factor. If needed the plot can be expanded with the mean and standard deviation.