Skip to content

Coverage map

Real traffic, and which parts the tests cover.

Definition · Updated Nov 2, 2026

A coverage map draws production traffic as clusters sized by share and marks the test cases inside each, so clusters with no tests show as empty. Use it to check a golden set against real use.

Pay once. Every update included.

Live preview

Production traffic against golden-set cases8 clusters of production conversations with their golden-set cases; partial + coupon (14% of traffic) has no cases.1FULL REFUNDS31% · 462PARTIAL REFUNDS18% · 263SUBSCRIPTIONS5% · 44OTHER3% · 05PARTIAL + COUPON14% · 06LATE DELIVERY11% · 167DAMAGED12% · 188IDENTITY6% · 1012345678PRODUCTIONGOLDEN-SET CASENO CASES
Production traffic against golden-set cases
ClusterShare of trafficGolden-set cases
FULL REFUNDS31%46
PARTIAL REFUNDS18%26
SUBSCRIPTIONS5%4
OTHER3%0
PARTIAL + COUPON14%0
LATE DELIVERY11%16
DAMAGED12%18
IDENTITY6%10

Sample data: eight clusters, full refunds 31% with 46 cases, partial + coupon 14% with 0 cases

Size
Legend
Data shape
A traffic share and a case count per cluster
Good for
Golden sets, eval coverage
Avoid when
There are no test cases
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

118 / Coverage map

chart/118-coverage-map
plot · coverage map
Layer
gap · outline
Type
Ellipse
Size
88 × 88
Stroke
status/warning
Group
Marks · 381

Layers

118 / Coverage map

chart/118-coverage-map
plot · coverage map
Layer
gap · outline
Type
Ellipse
Size
30 × 30
Stroke
status/warning
Group
Marks · 381

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels3216

Marks381381

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Where the tests are thin.

Three signs it fits, and three signs another type fits better.

Is coverage by cluster the point?

Two shares side by side.

Yes: Keep the coverage map

Are there test cases?

Traffic only.

Yes: Keep the coverage map

Is it clusters of real use?

Clusters of tickets.

Yes: Keep the coverage map

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/118-coverage-map

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/coverage-map
coverage-map.tsx
import { CoverageMap } from "@/components/chartory/coverage-map"import { goldenCoverage } from "./golden-coverage"export function GoldenCoverage() {  return (    <CoverageMap      data={goldenCoverage}      size="m"      legend={true}    />  )}

Hearth widget

Coverage map as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Coverage map questions.

What people ask before they put a coverage map in a dashboard.

Something else?

hello@usechartory.com
  • Its share of traffic and its number of cases (Full refunds · 31% · 46 cases).

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Relationship

17 types in Chartory answer this question.