Skip to content

Function: parallelLayout()

ts
function parallelLayout(dimensions, rows): ParallelLayoutResult;

Defined in: charts/parallel.ts:43

Parallel-coordinates layout: axis i sits at x = i; each dimension's values are normalized to y ∈ [0,1] by its own min/max (a flat dimension maps to 0.5). Each row becomes an N-point polyline. Pure — no side effects. Non-finite values fall back to the axis midpoint.

Parameters

ParameterType
dimensionsstring[]
rowsnumber[][]

Returns

ParallelLayoutResult

MIT licensed. WebGL2 required.