DivergingBarChart
stableBidirectional bar chart from zero — FX net positions, budget variance, tornado sensitivity analysis
import { DivergingBarChart } from "@nodus/design-system/finance"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
datareq | { label: string; value: number; sublabel?: string }[] | — | Bars to render |
unit | string | — | Unit suffix (e.g. % or M) |
severityColored | boolean | — | Color bars by positive/negative outcome |
datarequiredType
{ label: string; value: number; sublabel?: string }[]Default —Bars to render
unitType
stringDefault —Unit suffix (e.g. % or M)
severityColoredType
booleanDefault —Color bars by positive/negative outcome
MobileStacks / Scroll
Chart requires min 320px for legible labels. Wrap in overflow-x-auto.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?