stat: "identity"

Pass rows through unchanged. Default for most geoms: each mapped row becomes one mark with no aggregation.

Usage

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

<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
  <GeomPoint stat="identity" />
</GGPlot>
{
  "geom": "point",
  "stat": "identity"
}

Generated columns (after_stat)

This stat does not publish named after_stat columns in STAT_COLUMNS. It may still rewrite positions or filter rows; map aesthetics to data fields as usual.

Default for geoms

Compatible geoms

Examples

← All stats · Geoms · Statistics and positions