frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ChartGPU – WebGPU charting library, 1M+ points at 60fps

https://github.com/ChartGPU/ChartGPU
2•huntergemmer•1h ago
Hi HN, I built ChartGPU because existing webgpu libraries are paid-for libraries like Scichart. F that. Keep it, I'll just build my own and make it open source :)

The problem: I needed to visualize 1M+ data points for [your use case]. ECharts, Chart.js, and others dropped to single-digit FPS.

The solution: Built a charting library from scratch using WebGPU. Key features: - Line, area, bar, scatter, pie charts - LTTB downsampling on GPU - Real-time streaming support - ECharts-style declarative API - React wrapper included

Live demo: https://chartgpu.github.io/ChartGPU/ npm: https://www.npmjs.com/package/chartgpu

WebGPU requires Chrome 113+ or Edge 113+. No Safari yet.

Would love feedback on the API design and what chart types to prioritize next.