Core
Scatter Chart
A scatter chart plots point relationships across two or more numeric axes, making it useful for distribution and correlation analysis.
Example
Usage
Features
- Ideal for correlation and clustering analysis.
- Supports optional Z-axis sizing.
- Uses LibravelUI chart colors and tooltip styling.
- Allows numeric axes to be customized as needed.
- Works well with dense or exploratory datasets.
Installation
Copy the shared chart utilities and the chart component you need into your project.
npx libravelui@latest add scatter-chartAnatomy
import { ScatterChart } from "@/components/ui/core/charts/scatter-chart";<ScatterChart
data={data}
xDataKey="x"
yDataKey="y"
zDataKey="z"
config={{
label: "Points",
}}
/>Props
Loading types…