Interactive scatter plots for correlation analysis and distribution patterns with automatic correlation calculation and interactive data points.
npx linspo-ui add scatter-plotlucide-react12 data points
0.61
Correlation
12
Points
52
Avg X
56
Avg Y
0.61
R Value
| Prop | Type | Default | Description |
|---|---|---|---|
data | DataPoint[] | — | Array of data points with x, y coordinates and optional label. |
metric | string | "Correlation Analysis" | Label for the metric being displayed. |
xLabel | string | "X Axis" | Label for the x-axis. |
yLabel | string | "Y Axis" | Label for the y-axis. |
className | string | — | Additional CSS classes to apply. |