Skip to content

Cells matrix

Clusters across two sets of categories.

Definition · Updated Nov 2, 2026

A cells matrix crosses two sets of categories, such as topic and request size, and colours each cell by its cluster, faded where it is sparse, so the busy combinations stand out. Use it for requests by topic and size, tickets by product and severity, or any two-way count.

Pay once. Every update included.

Live preview

Prompt clusters by sizeRequests of the last 7 days by request size (128 to 16K tokens) and topic (16 columns), in four clusters: Code sits at the large sizes, Search and Agents at the small ones; the marked 2K cell in Support holds 1,284 requests.16K8K4K2K1K5122561281,284 REQCODESUPPORTSEARCHAGENTS
Prompt clusters by size
Request sizeTopicClusterDensity
16K1CodeHigh
16K2CodeHigh
16K4CodeLow
16K5CodeHigh
8K1CodeHigh
8K2CodeHigh
8K3CodeLow
8K5CodeHigh
4K1CodeLow
4K2CodeLow
4K3CodeHigh
4K4CodeLow
4K5CodeHigh
2K1CodeLow
2K2CodeHigh
2K4CodeHigh
2K5CodeLow
4K6SupportLow
4K7SupportLow
2K6SupportHigh
1K8SupportHigh
1K9SupportHigh
5128SupportLow
5129SupportLow
1K11SearchLow
1K12SearchLow
1K13SearchLow
51211SearchLow
51212SearchHigh
51213SearchHigh
25611SearchHigh
25612SearchHigh
25613SearchHigh
12810SearchHigh
12811SearchLow
12813SearchLow
51216AgentsHigh
25615AgentsLow
25616AgentsLow
12814AgentsLow
12815AgentsLow
12816AgentsHigh
2562UnclusteredHigh
1283UnclusteredHigh
8K10UnclusteredHigh
4K14UnclusteredHigh
16K12UnclusteredHigh
1287UnclusteredHigh
2K7SupportHigh

Sample data: requests across 16 topics in code, support, search and agents, by size from 128 to 16K, one cell marked at 1,284

Size
Legend
Data shape
A cluster colour and dense or sparse per cell
Good for
Topic by size, product by severity
Avoid when
One of the axes is time
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

027 / Cells matrix

chart/027-cells-matrix
plot · matrix
Layer
cell 4k · 6
Type
Rectangle
Size
41 × 30
Fill
data/cat-3
Radius
3
Group
Marks · 45

Layers

027 / Cells matrix

chart/027-cells-matrix
plot · matrix
Layer
cell 4k · 6
Type
Rectangle
Size
13 × 17
Fill
data/cat-3
Radius
3
Group
Marks · 45

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

Labels99

Marks4545

Height212 px246 px

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

When to use

Which combinations are busy.

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

Are both axes categories?

Weekday and hour.

Yes: Keep the cells matrix

Are the groups separate?

Groups that overlap.

Yes: Keep the cells matrix

Is it counts, not a link?

Correlations between items.

Yes: Keep the cells matrix

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/027-cells-matrix

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/cells-matrix
cells-matrix.tsx
import { CellsMatrix } from "@/components/chartory/cells-matrix"import { requestsByTopic } from "./requests-by-topic"export function RequestsByTopic() {  return (    <CellsMatrix      data={requestsByTopic}      size="m"      legend={true}    />  )}

Hearth widget

Cells matrix as a widget.

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

Code
Get the code

EmberPreset

ChartoryDefault preset

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

Read the Hearth widget docs

FAQ

Cells matrix questions.

What people ask before they put a cells matrix in a dashboard.

Something else?

hello@usechartory.com
  • Request sizes grow in doubles (128, 256 … 16K), so each row covers a size band of the same ratio.

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.