ComposedChart
Bars, lines and areas on one category axis, with a right-hand axis for a series in other units.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Usage
Examples
Playground
Daily values with a rolling average
Stacked bars with a rate line
Area behind a line
API
18 props
Accessibility
The plot is one tab stop named by ariaLabel. The arrow keys walk the points, Home and End jump to the ends, Enter or Space activates and Escape clears; the active point is drawn and read out politely. Every value is mirrored in a data table, and the SVG is hidden from assistive technology.
Related
AreaChartFilled areas per series over categories, stacked into a total or overlapping from zero.2 examplesBarChartBars per category: single, grouped or stacked, upright or on their side, with references, annotations and a highlighted bar.2 examplesBoxPlotChartDistributions side by side: median, quartiles, whiskers at 1.5 × IQR and outliers, from raw samples or precomputed summaries.1 exampleChartFrameThe frame every chart renders in: a captioned figure with one keyboard stop and a readout, loading, empty, invalid and error states, locale-aware numbers and a data table built from points. Use it around a custom visual, with the Recharts composition parts and Gaudi primitives.1 exampleDonutChartParts of a whole as a donut with a centre summary, or a pie (PieChart); slices are selectable and small ones fold into Other.2 examplesFunnelChartSteps in order with the conversion from each step to the next, as left-aligned bars or a centred funnel.1 example