Metric explorer
Pick a metric, a split and a range, and see it plotted.
by
Total sessions, last 14 days434.4K17.9%up, good vs the 14 days before
| Point | Organic | Paid search | Event | |
|---|---|---|---|---|
| Nov 17 | 10696 | 8189 | 3917 | |
| Nov 18 | 10315 | 7600 | 4014 | |
| Nov 19 | 11003 | 8077 | 3963 | |
| Nov 20 | 11228 | 11454 | 4292 | |
| Nov 21 | 12125 | 11840 | 4302 | |
| Nov 22 | 12598 | 12529 | 4376 | |
| Nov 23 | 11598 | 11057 | 4691 | |
| Nov 24 | 12699 | 11791 | 5095 | |
| Nov 25 | 12183 | 12301 | 4659 | |
| Nov 26 | 12989 | 12466 | 4778 | |
| Nov 27 | 12632 | 11923 | 4246 | |
| Nov 28 | 13562 | 12099 | 4201 | |
| Nov 29 | 11963 | 12419 | 4211 | |
| Nov 30 | 13374 | 11410 | 3725 |
| Channel | Total | Change | Share | Trend |
|---|---|---|---|---|
| Organic | 169k | 8.3%up, good vs the 14 days before | 39% | |
| Paid search | 155k | 41.0%up, good vs the 14 days before | 36% | |
| 60.5k | 1.1%down, worse vs the 14 days before | 14% | ||
| Referral | 49.8k | 20.7%up, good vs the 14 days before | 11% |
When to use
- Self-serve analysis without writing a query.
When not to use
- A fixed report; use a dashboard.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/metric-explorer
Adds its 12 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.
API reference
MetricExplorer
4 props
PropTypeDefault
data *readonly ExplorerRow[]—
metrics *readonly ExplorerMetric[]—
dimensions *readonly { id: string; label: string; }[]—
classNamestring—
Keyboard
- Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It exposes toolbar semantics, with aria-label and aria-hidden kept in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/metric-explorer.mdThe index of every part is at /llms.txt.