Pro
Skyline chart
A day-by-time grid whose cells rise into columns. Seen from straight above it is an exact heatmap, and colour repeats every height so nothing is lost when it is flat. Tilt it up to see the shape of the week. The busiest cell is the one ember column.
pnpm dlx shadcn@latest add @caliper/skyline-chartWhen to use
Use it for
- Activity by weekday and hour, load by region and time, anything with two category axes and one number.
- Showing a pattern first and the exact figure second.
Skip it when
- Comparing a few values; a bar chart reads exactly.
- Dense grids over about 12 by 12; the columns hide each other.
Decisions
Why it is built this way, so you know what to keep when you change your copy.
Behaviour
- Flat is a complete chart
- At view 0 the grid is a heatmap that reads to the digit. Height is a second encoding of the same number, never the only one.
- One tab stop
- Arrow keys move a cursor between cells and a live readout says where it is, so a keyboard user does not tab through 56 cells.
Usage
- A table of the same numbers
- The Table switch shows a real table, and the same table is in the page for screen readers while the chart is showing.
Installation
pnpm dlx shadcn@latest add @caliper/skyline-chart
Adds its 8 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.
Usage
Import it from your copy of the source. The example behind the preview comes with the source.
import { SkylineChart } from "@/components/ui/skyline-chart"
The worked example comes with Pro
The 37-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
SkylineChart
component
Accessibility
It exposes group semantics, with aria-roledescription, aria-label, aria-describedby, aria-hidden, aria-live and aria-valuetext kept in step with state. Changes that matter are announced through a live region.
Motion
It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.
Related
- Heatmap matrixTwo categories against each other, coloured by value. The row and column follow the pointer or arrow keys, and choosing a step of the scale isolates its cells.
- Activity heatmapA year of daily activity as a grid, with selection, and a footer that opens a ranked breakdown of where the activity went over the grid.
- Bar chartA compact bar series with an accessible label.