The built-in geoms
Each is a factory that returns a layer. Call it with options to configure the layer, and geom-specific
params to style what it draws:
params available depend on the geom — see each chart type page, or the reference for the full list.
Layers
Everygeom.*() you pipe in adds a layer, drawn in order — later layers sit on top. Layers share the spec-level mapping unless one overrides it. This is how decorated and combo charts are built:
Common layer options
Beyondparams, every geom accepts these options:
Position modes
When several observations share the same x (becausecolor or group splits the data), a layer’s position decides how they arrange:
Next
- Scales — map values to positions, colors and sizes
- Statistics — summarise a layer before drawing it
- Chart types — geoms assembled into recipes

