Charts / React chart kit primitives
React chart kit primitives
Small, sharp chart primitives in React: hatched columns, sparklines, gauges, radars, rings, dot matrices and segment meters, the building blocks of the example dashboards.
npm i klar-charts
- AreaChart: Lines with optional area fill, dashed comparison series, markers and a hover readout; here a sprint burndown.
- DotMatrix: Values as stacked dots, one column per period, with a highlighted range; here thirty days of revenue.
- TickBars: Thin ticks for a long run of values, brightening from a chosen point onwards.
- DotColumns: One dot per period at its value, with a band marking the usual range.
- Heatmap: A grid of cells shaded by value, with row and column labels; here consults by weekday and hour.
- HatchColumns: Tall columns on hatched tracks with a target line and callouts; here each person’s share of sprint work.
- Radar: Values on radial axes with an optional comparison polygon; here bookings against lead volume by source.
- BarChart: Stacked or grouped bars with a y-axis, a highlighted bar and hover tooltips; here spend and return by channel.
- Donut: Segments of a ring with gaps and a centre label; here MRR by plan.
- Waffle: A hundred squares coloured by share; here where every container is right now.
- StackBar: A single bar split into parts; here promoters, passives and detractors.
- SegmentMeter: A total split into tall labelled segments, the remainder hatched; here team capacity.
- StatusStrip: One block per day coloured by health; here ninety days of uptime per service.
- PillMeter: A row of pills lit up to a share, warming from orange to green; here revenue by procedure.
- Gauge: A ticked half-dial filled to a value, with colour stops along the track.
- RadialBars: Concentric arcs, one per item, each filled to its share; here spending against budget.
- Ring: A single progress ring with a value inside; here on-time arrival for five carriers.
- Sparkline: A tiny trend line with an optional fill, sized to whatever space it is given.
- Pulse: A heartbeat line that says a number is live.