| Prop | Type | Default | Description |
|---|---|---|---|
data | TrafficMetricItem[] | defaultMockMetrics | Array of traffic channel distribution slices with id, label, display value, rawVal, colorClass, and colorVar. |
className | string | — | Optional custom CSS classes for the card container. |
| Field | Type | Description |
|---|---|---|
id | string | Unique channel identifier (e.g., desktop, mobile, tablet). |
label | string | Human-readable traffic channel label. |
value | string | Formatted display currency string (e.g., $612.45). |
rawVal | number | Numerical valuation used for the semi-circular pie chart. |
colorClass | string | Background CSS class for the indicator bar. |
colorVar | string | CSS variable color token for the pie chart slice. |