Skip to content

Item

Defined in: packages/core/src/types.ts:7

One thing in the dataset, drawn as one mark (below the mark cap).

id: string

Defined in: packages/core/src/types.ts:9

Stable and unique. Marks keep this identity when the view changes.


values: Readonly<Record<string, string | null | undefined>>

Defined in: packages/core/src/types.ts:17

The item’s category in each dimension, keyed by dimension id. null, undefined, a missing key or a category id the dimension does not list all place the item in that dimension’s unknown category: unknowns are drawn, never dropped.


optional weight?: number

Defined in: packages/core/src/types.ts:11

Mark area is proportional to weight. Defaults to 1; must be positive.