AreaChart
A line with the volume underneath it filled in.
Click a mark to pin its value
View data
| Label | Value |
|---|---|
| Mon | 820 |
| Tue | 934 |
| Wed | 1,102 |
| Thu | 987 |
| Fri | 1,210 |
| Sat | 640 |
| Sun | 575 |
<AreaChart title="Daily visits" data={data} />Usage
Data
data takes { label: string; value: number; color?: string }[]. Input arrays are never mutated and order is preserved.
- There is no stacking. Each chart draws a single series.
Every chart also accepts the common props: description, height, color, variant, animate, formatValue and className.