stat: "boxplot"

Five-number summary per group (hinges and whiskers). Publishes ymin, lower, middle, upper, ymax; default for geom_boxplot.

Usage

import { GGPlot, GeomBoxplot } from "@ggsvelte/svelte";

<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
  <GeomBoxplot stat="boxplot" />
</GGPlot>
{
  "geom": "boxplot",
  "stat": "boxplot"
}

Generated columns (after_stat)

Resolve these with channel objects such as { stat: "ymin" } in aes.

  • ymin
  • lower
  • middle
  • upper
  • ymax

Default for geoms

Compatible geoms

Examples

← All stats · Geoms · Statistics and positions