Charts
Spend breakdown chart
Inspect service spending with an accessible horizontal bar chart and period comparison.
Using Spend breakdown chart
Inspect service spending with an accessible horizontal bar chart and period comparison.
Inspect service spending with an accessible horizontal bar chart and period comparison. For controlled React use, pass value and onChange; onAction receives the action and resulting state. Use defaultValue for a local draft.
Select Storage to read its spending explanation, then switch to August to compare the amounts. This example only updates local draft state.
The example contains three fixed categories on a shared $700 scale. Replace the sample values when adapting the chart.
Props: accent, status
How does the application receive changes?
For controlled React use, pass value and onChange; onAction receives the action and resulting state. Use defaultValue for a local draft.
Which frameworks are available?
The catalog lists these versions: react, vue, svelte, astro, html. The live preview on this page runs React.
How do I access the implementation?
The code, framework versions and installation commands are available in the workbench above.