Charts / React chart kit primitives / Comparison
Tall columns on hatched tracks with a target line and callouts; here each person’s share of sprint work.
React component HatchColumns, data through props. Side by side: who, which source, which version is ahead. Tags: columns, bars, target, hatch, share, workload.
npm i klar-charts
import 'klar-charts/styles.css'
import { ThemeScope, HatchColumns } from 'klar-charts'
# or copy the source:
npx shadcn@latest add https://klar.run/r/kit-hatch-columns.json<HatchColumns
height={250}
target={70}
targetLabel="Target 70%"
data={[
{ label: <Who name="Maya Chen" />, value: 19, color: 'var(--green)' },
{ label: <Who name="Jon Ortega" />, value: 65, color: 'var(--amber)' },
{ label: <Who name="Priya Raman" />, value: 87, color: 'var(--blue)', callout: <Up>12%</Up> },
{ label: <Who name="Alex Kim" />, value: 34, color: 'var(--surface-4)', textColor: 'var(--fg)' },
]}
/>