Bar Chart

Bars side by side or stacked, for comparing amounts across categories.

Revenue
January to June 2026

Installation

  1. Add the registryOnce per project
  2. Add bar-chart

Usage

BarChartSeries draws one series. The axes, tooltip, legend and config come from Chart.

Composition

Examples

Stacked

stack="stacked" stacks the series in the order they're written. stack="expanded" stretches each stack to the same height to compare shares.

Horizontal

orientation="horizontal" puts the categories on the y-axis.

Projected

A hatched series reads as an estimate, here stacked with the actual figures.

Props

BarChart

BarChartSeries

BarChartSeries takes the props of Recharts' Bar too, such as maxBarSize.