Skip to content
caliper ui pro docs

Metric explorer

Pick a metric, a split and a range, and see it plotted.

Pro
by
Total sessions, last 14 days434.4K17.9%up, good vs the 14 days before
Sessions by channel
Sessions by channel
PointOrganicPaid searchEmailEvent
Nov 171069681893917
Nov 181031576004014
Nov 191100380773963
Nov 2011228114544292
Nov 2112125118404302
Nov 2212598125294376
Nov 2311598110574691
Nov 2412699117915095
Nov 2512183123014659
Nov 2612989124664778
Nov 2712632119234246
Nov 2813562120994201
Nov 2911963124194211
Nov 3013374114103725
Sessions by channel
ChannelTotalChange
Organic169k8.3%up, good vs the 14 days before
Paid search155k41.0%up, good vs the 14 days before
Email60.5k1.1%down, worse vs the 14 days before
Referral49.8k20.7%up, good vs the 14 days before

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.md

The index of every part is at /llms.txt.

More in Metrics