Charts / React basic charts / Comparison
Two to four series side by side in every category, as columns or rows, so both the categories and the series can be compared.
React component GroupedBar, data through props. Side by side: who, which source, which version is ahead. Tags: bar, grouped, clustered, column, comparison, multi-series, year over year.
npm i klar-charts
import 'klar-charts/styles.css'
import { ThemeScope, GroupedBar } from 'klar-charts'
# or copy the source:
npx shadcn@latest add https://klar.run/r/basic-grouped-bar.json<GroupedBar data={revenueByRegion} series={fiscalYears} orientation={o as 'vertical' | 'horizontal'} unit="currency" height={372} ariaLabel="Revenue by region for fiscal years 2024 to 2026" />