Marimekko chart
A market map: columns as wide as their share, segments stacked by their share within, so area is share of the whole. Switch period and every block moves to its new size.
Total $2586k
| Column | Starter | Team | Enterprise | Total |
|---|---|---|---|---|
| North America | 120 | 340 | 832 | 1292 |
| EMEA | 90 | 416 | 300 | 806 |
| APAC | 112 | 110 | 144 | 366 |
| LatAm | 40 | 50 | 32 | 122 |
When to use
- Revenue by region and plan, market by segment and vendor.
- Explaining where the money is in one picture.
When not to use
- Exact comparisons between blocks; keep the table.
- Many tiny columns.
Installation
pnpm dlx shadcn@latest add @caliper/marimekko-chart
Adds its 6 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.
API reference
MarimekkoChart
9 props
Keyboard
- →
- Moves to the next item or value.
- ←
- Moves to the previous item or value.
- ↓
- Moves to the next item or value.
- ↑
- Moves to the previous item or value.
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It exposes group and status semantics, with aria-label, aria-busy and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/marimekko-chart.mdThe index of every part is at /llms.txt.