Charts that scale from 5 points to 5 million.

A zero-dependency charting library: grammar-of-graphics core, Canvas & SVG renderers, LTTB decimation, and real-time streaming — in about 18 KB gzipped.

Explore examples 1M / 5M benchmark

Bar

Line

Donut

Templates

Trading Terminal

Candlestick + volume + RSI with a synchronized crosshair, live order book, trade form, and watchlist sparklines.

Analytics Dashboard

KPI cards with sparklines, revenue area/line, donut, horizontal bar, treemap, and an activity heatmap.

Monitoring Dashboard

Real-time gauges, ring-buffered streaming areas, and a per-host latency sparkline table.

CRM Dashboard

Sidebar app-shell with a sales funnel, sankey lead flow, rep leaderboard, and contacts table.

Why LombokCharts

Zero dependencies

Native Canvas2D / SVG / ResizeObserver / rAF / typed arrays. Nothing else.

Scales to millions

Typed-array pipeline + LTTB decimation keeps million-point series interactive.

Real-time built in

appendData, async iterators, EventSource, WebSocket — one redraw per frame.

Tree-shakeable

Register only the marks you use; your bundler drops the rest.

Install

npm install lombok-charts
<script src="https://cdn.jsdelivr.net/npm/lombok-charts/dist/lombok-charts.umd.min.js"></script>
<script> LombokCharts.chart('#app', { data, mark: 'bar' }); </script>

Apache-2.0 · © codinglombok · built with LombokCSS