Open source

vertexa-chart

A GPU-accelerated charting library that uses WebGPU for trace rendering and D3 for interactive overlays — scatter, bar, area, heatmap, and histogram traces that handle millions of points with smooth zoom and pan.

6 trace types
Scatter, bar, area, heatmap, histogram — with streaming support via appendPoints().
D3 overlays
Axes (linear, log, time, category), grid, legend, annotations, and box/lasso selection.
Open source
MIT licensed. Framework-agnostic TypeScript API.
Architecture

Hybrid rendering: WebGPU + D3

vertexa-chart splits responsibilities cleanly: WebGPU draws the heavy traces (scatter/line/etc.), while D3 handles DOM/SVG overlays like axes, ticks, labels, and annotation layers. The result feels like a classic D3 chart — but scales to real-sized datasets.

WebGPU renderer

WGSL shaders for scatter, line, hover highlight, and GPU picking pipelines. Ring-buffer GPU memory for efficient streaming appends.

D3 overlay system

Axes, ticks, grid, legend, tooltips, and annotations rendered as SVG — composited over the WebGPU plot layer.

Dual picking engine

CPU grid index for hover stability during pan, plus GPU color-coded picking for dense datasets. Box and lasso selection built in.

Performance modes

Quality, balanced, and max-fps presets with automatic LOD sampling above 50k visible points. Immediate or next-frame render modes for linked charts.

Capabilities

What you get out of the box

Streaming data

appendPoints() with sliding-window eviction for real-time dashboards and monitoring.

Interactive exploration

Hover modes (closest, x, y), keyboard navigation, zoom/pan, and configurable tooltips with custom formatters.

Export

PNG, SVG, and CSV export with composited WebGPU plot and SVG overlay layers.

Accessibility

ARIA labels, keyboard shortcuts (arrows, +/-, 0 to reset, F to fit), and high-contrast theme support.

Use cases

Made for real workflows

Real-time dashboards
Streaming updates with appendPoints() and sliding-window eviction.
Scientific & engineering plots
Log and time axes, millions of points, and precise hover hit-testing.
Financial charting
Smooth zoom/pan with LOD sampling and category/time axis support.
Developer tools
Performance stats API, three render modes, and CSV export for profiling data.
Get vertexa-chart updates

Release notes, examples, and roadmap drops — no spam.

We’ll only email about vertexa-chart. Unsubscribe anytime.