ChartGPU is an open-source TypeScript charting library that leverages WebGPU for high-performance rendering of large datasets. It supports multiple chart types (line, area, bar, scatter, pie, candlestick), built-in interactions (hover, tooltips, crosshair), streaming data updates, zoom capabilities, and theming. The library requires WebGPU support (Chrome/Edge 113+, Safari 18+) and includes React bindings via a separate package. The architecture uses a render coordinator pattern that manages GPU context, layout, scales, and data upload while delegating rendering to specialized GPU renderers with WGSL shaders.

•3m read time•From github.com
Post cover image
Table of contents
HighlightsArchitectureDemoQuick startInstallationReact IntegrationBrowser support (WebGPU required)DocumentationExamplesContributingLicense
3 Comments

Sort: