Components
Blocks
- Activity Rings Card
- Allocation Card
- Balance Chart Card
- Breakdown Card
- Contributions Card
- Data Table Card
- Distribution Card
- Dot Plot Card
- Dual Metric Card
- Funnel Chart Card
- Goal Chart Card
- Heatmap Chart Card
- Insight Card
- KPI Row Card
- Metric Tabs Chart Card
- Period Bar Chart Card
- Progress Card
- Ring KPI Card
- Score Gauge Card
- Stage Bars Card
- Status Gauge Card
- Tick KPI Card
Correlation dots per series that become bubbles when a size key is set, with a per-point tooltip and legend.
"use client"
import { ScatterChart } from "@/components/ui/scatter-chart"Installation#
pnpm dlx shadcn@latest add https://dashboardcn.com/r/scatter-chart.jsonAlso installs chart from shadcn/ui if missing.
Usage#
import { ScatterChart } from "@/components/ui/scatter-chart"
<ScatterChart
series={[
{ label: "Free", data: free },
{ label: "Pro", data: pro },
{ label: "Enterprise", data: enterprise },
]}
xKey="sessions"
yKey="revenue"
xLabel="Sessions"
yLabel="Revenue"
showLegend
/>Examples#
Bubbles#
Set sizeKey to scale each point by a third value, and nameKey to title the tooltip with the point's label.
"use client"
import { ScatterChart } from "@/components/ui/scatter-chart"Your dashboard, your code.
Every component is copied into your project with the shadcn CLI. No package to upgrade, nothing to override.