Skip to content
DocsChartsCluster mapLast updated Nov 2, 2026

Cluster map

Similar items grouped into named clusters. Sample data: support tickets in five clusters, billing, login and SSO, integrations, bugs and feature asks.

Open in
Support ticket topicsA sample of 94 support tickets from the last 7 days in 5 topic clusters: Billing 22, Login and sso 26, Integrations 18, Bugs 16, Feature asks 12.BILLINGLOGIN AND SSOINTEGRATIONSBUGSFEATURE ASKS
Support ticket topics
TopicTickets shown
Billing22
Login and sso26
Integrations18
Bugs16
Feature asks12
Support ticket topicsA sample of 94 support tickets from the last 7 days in 5 topic clusters: Billing 22, Login and sso 26, Integrations 18, Bugs 16, Feature asks 12.BILLINGLOGIN AND SSOINTEGRATIONSBUGSFEATURE ASKS
Support ticket topics
TopicTickets shown
Billing22
Login and sso26
Integrations18
Bugs16
Feature asks12

Installation

  1. 1

    Set up the registry once

    This chart is free in Hearth and MIT licensed: no token. Add @chartory to components.json once (the URL alone, no headers), or skip this when another chart is already installed.

    Installation guide
  2. 2

    Add the chart

    One command adds the Cluster map component to your project.

    npx shadcn add @chartory/cluster-map
  3. 3

    Use it

    Pass your rows. The props are the Figma properties.

    usage.tsx
    import { ClusterMap }  from "@/components/chartory/cluster-map"<ClusterMap  data={ticketClusters}  size="m"/>

Props

<ClusterMap>

Every prop but data is a Figma property with the same name and values.

PropTypeDefault
data: The chart's data. The tables below list every field.ClusterMapDataRequired
size: The size class. Each one is laid out again from the data."xs" | "s" | "m" | "l""m"
color: The data colour of the primary marks (data/primary)."cat-1" | "cat-2" | "cat-3" | "cat-4""cat-1"

ClusterMapData

The data prop: one object for the whole chart.

PropTypeDefault
seed?: Seeds the generated marks, so the layout is the same on every render.number9
clusters: One entry per cluster.ClusterMapCluster[]Required

ClusterMapCluster

One object per entry in clusters.

PropTypeDefault
label: The name shown on the chart.stringRequired
tok: The colour token, e.g. "data/primary".stringRequired
cx: The cluster's centre, x.numberRequired
cy: The cluster's centre, y.numberRequired
sx: The cluster's spread, x.numberRequired
sy: The cluster's spread, y.numberRequired
n: The number of points in the cluster.numberRequired

The data as a JSON Schema: schemas/cluster-map.json

Cluster map: a React and Figma chart in four sizes

What does a cluster map show?

A cluster map places items by how similar they are, so they gather into groups, then names each group. Big and small clusters stand out. Use it for support tickets, feedback or search queries.

Chartory ships it as a Figma component and a React component with the same name. The code installs from the shadcn registry with one command and lands in your project as a file you own.

What is the Cluster map component?

It is one <ClusterMap> component. Its props are the Figma properties with the same names and values, and the props table above lists them. The data is a centre, a spread and a count per cluster; the points are generated from them.

Sizes XS, S, M and L re-lay the chart out from the data instead of scaling it, so labels stay readable at every size.

When should I use it?

  • Are the groups found from the data? Yes means the cluster map fits.
  • Is it items, not words? Yes means the cluster map fits.
  • Is position by similarity? Yes means the cluster map fits.

When does another type fit better?

  • Groups you already know. Use Treemap instead.
  • Words sized by count. Use Term cloud instead.
  • Two measures per item. Use Scatter instead.

Cluster map questions

Installing, data, Figma and plans.

  • Yes. It installs through the shadcn registry with the shadcn CLI, and the file lands in your project.

Stay in the loop

New charts, by email.

Get an email when new chart types and releases ship.

Unsubscribe any time.