ScaleSizeManual
Manual size mapping: domain values paired with explicit numbers.
Defaults
- helper
scaleSizeManual- family
numeric-style- aesthetic
size- scale type
manual- options type
ManualNumericStyleScaleOptions
Svelte component
import { GGPlot, GeomPoint, ScaleSizeManual } from "@ggsvelte/svelte";
<GGPlot data={rows} aes={{ x: "x", y: "y", size: "weight" }}>
<ScaleSizeManual />
<GeomPoint />
</GGPlot> JSON scales
{
"scales": {
"size": {
"type": "manual"
}
}
} Params
domainArray<DomainValue>Explicit semantic domain. Continuous scales use [min, max]; ordinal uses ordered values.
naValuenumberReplacement for missing/null source values.
unknownValuenumberReplacement for invalid, out-of-domain, or unmapped values.
guideGuideSpecGuide presentation override (legend, colorbar, colorsteps, or none).
valuesrequirednumber[]Numeric range values paired with domain (required).
Guide interaction
Legend guide for the mapped style channel. Set guide: "none" to hide.