What it does
Draws vertical bars per category with optional stacking.
Axes, grid, and tooltip wiring mirror line and area charts for predictability.
Data shape
Rows hold category labels in `xKey` and numeric measures per `series.dataKey`.
Common use cases
- Monthly totals beside one another.
- Stacked contributions by team or region.
- Survey response counts by option.
Accessibility
Keep category labels short and unique for screen reader context in tooltips.
Prefer sufficient color separation between adjacent series.
Next.js integration notes
Import from `@zentauri-ui/zentauri-components/charts/bar` inside client components when interaction is required.
FAQ
How do I stack bars?
Set `stacked` on the chart and assign the same `stackId` on series that should pile together.
Can I tune bar spacing?
Use Recharts props via composition when you need finer control; defaults favor legible category spacing.