Chart
A minimal CSS bar chart with no charting library. Pass a JSON data prop or compose chart-bar children. Use label (or aria-label) for an accessible name; JSON charts include a screen-reader table of values.
Usage
| Label | Value |
|---|---|
| Jan | 40 |
| Feb | 65 |
| Mar | 50 |
| Apr | 80 |
Composed bars
Use chart-bar when you want explicit control over each column.
In a card
Charts sit well inside cards for dashboard blocks.
Composition
code
Chart
└── ChartBar (repeat, or data prop)