Hex grid
Where clicks pile up on a page.
Definition · Updated Nov 2, 2026
A hex grid divides an area into hexagons and shades each one by how many events fall in it, so dense spots show without thousands of dots. Use it for click maps, store traffic or any events placed on a surface.
Pay once. Every update included.
Live preview
Sample data: clicks on three key pages, product 16.1K, home 14.2K, checkout 8.3K
- Data shape
- Hot spots per page and a click count
- Good for
- Click maps, floor traffic
- Avoid when
- There are only a few events
- 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
028 / Hex grid
- Layer
- outline · home
- Type
- Rectangle
- Size
- 150 × 192
- Stroke
- text/strong
- Group
- Marks · 461
Layers
028 / Hex grid
- Layer
- outline · home
- Type
- Rectangle
- Size
- 84 × 126
- Stroke
- text/strong
- Group
- Marks · 170
Layers
028 / Hex grid
- Layer
- outline · home
- Type
- Rectangle
- Size
- 51 × 106
- Stroke
- text/strong
- Group
- Marks · 89
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
Labels66
Marks104170
Height212 px246 px
Same tokens at every size: text styles, 1 px lines and mark radius stay put.
When to use
Where things happen.
Three signs it fits, and three signs another type fits better.
Are events placed on a surface?
Counts on a grid of two axes.
Yes: Keep the hex grid
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/028-hexbin
npx shadcn add @chartory/hex-gridimport { HexGrid } from "@/components/chartory/hex-grid"import { pageClicks } from "./page-clicks"export function PageClicks() { return ( <HexGrid data={pageClicks} size="m" legend={false} /> )}Hearth widget
Hex grid as a widget.
The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.
EmberPreset
ChartoryDefault preset
Pick the blocks, the size and the preset for your own widget.
Read the Hearth widget docsFAQ
Hex grid questions.
What people ask before they put a hex grid in a dashboard.
Something else?
hello@usechartory.comThey tile without gaps and every neighbour is the same distance away, so dense spots look even in every direction.
The page's name and its total clicks (Product, 16.1K clicks in the sample).
One data object in the sample’s shape: hot spots per page and a click count. The docs page lists every field and links its JSON Schema; the sample data comes with the component, so you can start from it and swap in your own.
Series take the preset’s data colours in order, and states such as up, down or warning take its status colours. Change the preset in Figma or in code to recolour every chart at once.
XS, S, M and L, in light and dark. Each size is laid out again from the data, so text and lines keep their size.
Yes. It plays in when it scrolls into view, and when the data changes every mark moves from its old place to its new one. With reduced motion on, it does not move.
Yes. The React component is free in the public registry in Hearth, no token needed; Signal comes with Code and Complete. The Figma component comes with Figma and Complete.
Ask for it by name. The MCP server tells the agent what data it needs and runs the same command: npx shadcn add @chartory/hex-grid. You review the diff.
Related types
Other ways to show space and place.
The same question, a different shape of answer. Every type ships in Figma and in code.
Same family
Space and place
9 types in Chartory answer this question.