Tukey Box Plot (1.5 IQR)
Composite Marks / Box Plots · boxplot · Supported · boxplot_2D_vertical
The spec
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "A vertical box plot showing median and lower and upper quartiles of the distribution of body mass of penguins.",
"data": {"url": "data/penguins.json"},
"mark": "boxplot",
"encoding": {
"x": {"field": "Species", "type": "nominal"},
"color": {"field": "Species", "type": "nominal", "legend": null},
"y": {
"field": "Body Mass (g)",
"type": "quantitative",
"scale": {"zero": false}
}
}
}PlotKit's render (light and dark follow your system setting)
