Skip to content

CoordSpec

CoordSpec = { kind: "cartesian"; transpose?: boolean; } | { endAngle?: number; innerRadius?: number; kind: "polar"; startAngle?: number; } | { crs?: string; kind: "geographic"; projection: ProjectionSpec; } | { kind: "parallel"; } | { kind: "hierarchy"; layout: HierarchyLayout; padding?: number; } | { kind: "network"; layout: NetworkLayout; }

Defined in: spec/coord.ts:86

The space marks are placed in.

Cartesian is the default and covers most of the catalogue. The other four exist because they need something cartesian cannot supply: an angular sweep, a map projection, one axis per field, or a layout algorithm that derives positions from structure rather than from values.