Pro
Parallel coordinates
Many rows across several measures, one line each. Drag along an axis to keep a range; ranges combine. Keyboard: arrows move a range, Shift resizes it, Delete clears it.
pnpm dlx shadcn@latest add @caliper/parallel-coordinatesWhen to use
Use it for
- Choosing machines, plans or candidates by several measures at once.
- Finding the rows that are good on every measure.
Skip it when
- One or two measures; use the scatter chart.
- Hundreds of rows on a phone.
Installation
pnpm dlx shadcn@latest add @caliper/parallel-coordinates
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
Usage
Import it from your copy of the source. The example behind the preview comes with the source. It is built from brushMatch and ParallelCoordinates.
import { brushMatch, ParallelCoordinates } from "@/components/ui/parallel-coordinates"
The worked example comes with Pro
The 41-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
brushMatch
component
No props of its own; it accepts the native props of its root element.
ParallelCoordinates
component
Accessibility
It exposes slider and status semantics, with aria-label, aria-busy, aria-hidden, aria-valuemin, aria-valuemax and aria-valuenow kept in step with state. Changes that matter are announced through a live region.
Motion
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.
Related
- Scatter chartTwo measures per item, with an optional third as point size. Points grow in, hidden groups shrink away, and a trend line with its fit draws after them.
- Query builderBuild a filter from conditions and nested groups, typed by field: text, number, date, options and yes/no. It reads back as a sentence, counts matches live, flags unfinished conditions and saves segments.
- Radar chartSeveral measures on shared axes, drawn as one filled shape.