Treemap
Part-to-whole as tiles with automatic readable text colour.
Installation
A Pro chart: one command copies its source into your app (built on the free expo-charts engine, which the CLI installs too). You own the code.
Usage
Props
| Prop | Type | Default |
|---|---|---|
| data Tiles. | { label, value, color? }[] | — |
| gap / radius Tile spacing & corners. | number | 3 / 8 |
| colors Tile colours. | string[] | theme palette |
Source
Did you like the content?

