125 React charts, drawn by hand in SVG
Klar is a free, open-source library of React chart components drawn directly in SVG, with no chart library underneath. Every chart works in light and dark, is keyboard-accessible and exports to SVG, PNG and CSV. 83 charts take your data through props; 42 more come from 12 complete example dashboards.
npm i klar-charts
npx shadcn@latest add https://klar.run/r/fin-candlestick.json
claude mcp add klar -- npx -y klar-mcp
Chart collections
- React basic charts: The everyday charts done properly: line, area, bar, stacked and grouped bars, pie, scatter, bubble, funnel, waterfall, box plot, timeline and KPI cards, as React components in SVG.
- 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.
- React finance charts: Financial charts for React in SVG: candlestick with volume and moving averages, order-book depth, yield curve, volatility surface, drawdown, correlation matrix and market treemap.
- React science and statistics charts: Statistical and scientific charts for React in SVG: Kaplan–Meier survival with log-rank test, forest plots, volcano and Manhattan plots, clustered heatmaps with dendrograms, PCA biplots, four-parameter dose–response fits, Bland–Altman agreement, Q–Q and ECDF plots, ternary diagrams, regression with confidence bands, raincloud, hexbin density, histogram with KDE, spectrogram and parallel coordinates.
- React BI charts: Business-intelligence charts for React in SVG: forecast bands with prediction intervals, SPC control charts with Nelson rules, IBCS variance charts, tornado sensitivity charts, decomposition trees, horizon charts, quadrant matrices, bullet charts, bump and slope charts, dumbbell, Marimekko, Pareto and calendar heatmaps.
- React engineering charts: Engineering and network charts for React in SVG: flame graphs, Sankey diagrams, chord diagrams, network graphs, dependency Gantt with critical path, radial dendrograms and wind roses.
Example dashboards
- Orbit · Team workspace: Sprint capacity, workload and team throughput for a product squad.
- Lumen Clinic · Consult conversion: Where a surgical practice wins and loses patients, by procedure and counselor.
- Hearth · Household budget: A shared family budget board with bills, goals and cash-flow rhythm.
- Beacon · Activation goals: Product-led onboarding: flows, nudges and the revenue they influence, with an agent.
- Meridian Freight · Control tower: Live ocean and road freight: lanes, dwell time, carriers and exceptions.
- Recur · Revenue metrics: Subscription revenue for a B2B SaaS: MRR movement, cohorts and plan flow.
- Sentinel · Service health: Observability for a payments platform: latency, error budgets and incidents.
- Cadence · Sales pipeline: Quarter pipeline for a sales org: stage flow, quota pacing and deal velocity.
- Atrium · People overview: Headcount, hiring and engagement for a 400-person company.
- Fieldstone · Store performance: A homeware brand’s storefront: orders by hour, products and regions.
- Halo · Campaign performance: Paid and owned marketing: spend to revenue by channel, ROAS and creative.
- Synapse · Model operations: LLM usage across products: tokens, cost, latency percentiles and evals.
Read the docs · Browse all charts · Use with your AI assistant