stat: "bindot"

Histodot binning for geom_dotplot: one stack position per observation. Publishes stackpos (and bin occupancy).

Usage

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

<GGPlot data={rows} aes={{ x: "x" }}>
  <GeomDotplot stat="bindot" />
</GGPlot>
{
  "geom": "dotplot",
  "stat": "bindot"
}

Generated columns (after_stat)

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

  • stackpos

Default for geoms

Compatible geoms

Examples

← All stats · Geoms · Statistics and positions