GeomArea
Area geometry: a filled region from the y baseline (zero) to the y value, connected in x order per group. Use for stacked composition-over-time charts. With stat align, series with different x samples share a common grid for stack/fill.
Defaults
- geom
area- default stat
identity- default position
stack- params type
AreaParams
Svelte component
import { GGPlot, GeomArea } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y" }}>
<GeomArea />
</GGPlot> JSON layer
{
"geom": "area"
} Params
alphanumberArea fill opacity. Must be between 0 and 1 (inclusive). Default 1.
fillPaintGradientPaintWithin-mark gradient fill paint (not a data scale). Requires a solid fallback.
glowGlowSpecBounded within-mark glow treatment (not theme decoration).