Skip to content

Documentation v1.0.0


Documentation / @openassistant/echarts / ParallelCoordinatePlot

Function: ParallelCoordinatePlot()

ParallelCoordinatePlot(props): Element

Defined in: components/echarts/src/pcp/pcp.tsx:69

A React component that renders a Parallel Coordinate Plot using ECharts

This component visualizes multivariate data using parallel coordinates, where each vertical axis represents a variable and each line represents an observation. It supports interactive brushing and linking with other components through the useBrushLink hook.

Parameters

props

ParallelCoordinateOutputData

Component props

Returns

Element

Rendered parallel coordinate plot

Component

Example

tsx
<ParallelCoordinatePlot
  id="pcp1"
  datasetName="dataset1"
  variables={['var1', 'var2', 'var3']}
  pcp={pcpData}
  rawData={data}
  theme="dark"
/>

Released under the MIT License.