LombokCharts
A zero-dependency charting library for the browser. It pairs a small grammar-of-graphics core (Data → Scale → Mark) with pluggable Canvas and SVG renderers, LTTB decimation, and a real-time streaming layer — so the same API draws a five-point bar chart or a five-million-point line without changing shape.
Features
- Zero runtime dependencies. Native Canvas2D / SVG / ResizeObserver / requestAnimationFrame / typed arrays only.
- 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.
- Two renderers, one API. Canvas by default (fast path for huge series), SVG when you want crisp vector output or DOM-inspectable nodes.
- Scales from tiny to massive. Typed-array pipeline plus Largest-Triangle-Three-Buckets (LTTB) decimation keeps million-point series interactive.
- Tree-shakeable. Register only the marks you use and the rest is dropped by your bundler.
- ~18 KB gzipped for the full build with every mark registered; far less for a custom subset.
- Charts that scale from 5 points to 5 million.
- Templates Trading Terminal Candlestick + volume + RSI with a synchronized crosshair, live order book, trade form, and watchlist sparklines.
- Templates Analytics Dashboard KPI cards with sparklines, revenue area/line, donut, horizontal bar, treemap, and an activity heatmap.
- Templates Monitoring Dashboard Real-time gauges, ring-buffered streaming areas, and a per-host latency sparkline table.
- Templates CRM Dashboard Sidebar app-shell with a sales funnel, sankey lead flow, rep leaderboard, and contacts table.
License
Apache License V2.0Follow LombokCharts
Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime
Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LombokCharts!