Repository navigation
Releases
Releases · klar-run/klar
v0.2.1
Try your data, install by name, one-click MCP setup. Klar still has 125 React charts drawn by hand in plain SVG; this release makes them easier to try and to install.
- Try your data: edit any reusable chart's data live on its page and see it redraw (#3)
- Install by name from the shadcn directory (
@klar/<id>), with npm / pnpm / yarn / bun tabs (#2) - One-click MCP install buttons for Cursor and VS Code in the README (#6)
- Marketplace listings: 400×400 brand avatar and a LobeHub Marketplace manifest for
klar-mcp(#7) - Mobile navigation menu on the site (#2)
npm i klar-charts@0.2.1
npx -y klar-mcp@0.2.1Klar 0.2.0
15 new science and BI charts. Klar now has 125 React charts drawn by hand in plain SVG.
New in Science (8 → 16)
- Volcano plot: log₂ fold change vs significance for thousands of genes, Benjamini–Hochberg FDR, labelled top hits (
sci-volcano) - Manhattan plot: GWAS p-values across the genome on canvas, clumped loci by gene, Q–Q inset with λGC (
sci-manhattan) - Clustered heatmap: hierarchical clustering with dendrograms, annotation strips, click a branch to highlight a cluster (
sci-clustered-heatmap) - PCA biplot: PCA computed in the chart, 95% group ellipses, loading arrows, scree strip (
sci-pca-biplot) - Dose–response: four-parameter logistic fit, EC50/IC50 with CI, parameter table (
sci-dose-response) - Bland–Altman: bias and limits of agreement with exact CIs, proportional bias, tolerance zone (
sci-bland-altman) - Q–Q + ECDF: confidence envelope, Shapiro–Wilk and Lilliefors tests (
sci-qq-plot) - Ternary plot: three-part compositions with USDA soil-texture classes and density (
sci-ternary)
New in BI (7 → 14)
- Variance chart (IBCS): actual vs plan vs prior year, absolute and relative variance on aligned scales (
bi-variance) - Forecast band: Holt–Winters forecast with 80/95% intervals, anomalies and backtest (
bi-forecast-band) - Control chart (SPC): X–mR, x̄–R and p charts with Western Electric / Nelson rules and phases (
bi-control-chart) - Tornado chart: one-at-a-time sensitivity, with a spider mode (
bi-tornado) - Decomposition tree: drill a KPI down by any dimension, with AI split (
bi-decomposition-tree) - Horizon chart: 20+ series in folded bands with a shared scrub line (
bi-horizon) - Quadrant matrix: BCG / effort–impact zones with prior-period trails (
bi-quadrant)
Every new chart works in light and dark, supports touch and keyboard, includes a hidden data table and CSV rows, and its maths is tested against published reference values.
Install
- npm:
npm i klar-charts@0.2.0 - shadcn:
npx shadcn@latest add https://klar.run/r/sci-volcano.json(any chart id) - MCP server:
npx -y klar-mcp@0.2.0. Ask your assistant to "add a volcano plot with Klar" - Claude Code plugin:
/plugin install klar --marketplace klar-run/klar
See them live: https://klar.run/charts/science · https://klar.run/charts/bi
Klar 0.1.1
First public release of Klar: 110 React charts drawn by hand in plain SVG, with no chart library underneath. Light and dark, MIT.
Install
- npm:
npm i klar-charts(klar-charts@0.1.1) - shadcn:
npx shadcn@latest add https://klar.run/r/fin-candlestick.json(any chart id from the atlas) - MCP server:
npx -y klar-mcp(klar-mcp@0.1.1); also on Glama - Claude Code plugin:
/plugin install klar --marketplace klar-run/klar
What's inside
- 68 reusable charts across basics, finance (candlestick, order book, yield curve, vol surface), science (Kaplan–Meier, forest plot, raincloud), BI and engineering (flame graph, Sankey, chord, dependency Gantt).
- 42 charts drawn for 12 complete example dashboards, each installable on its own.
- Accessible (keyboard navigation, data-table views), SVG/PNG/CSV export, tree-shakeable ESM with
'use client', works with or without Tailwind v4. - 0.1.1 adds
mcpNamefor the official MCP Registry.
Docs: https://klar.run/docs