news.volyx.in

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps) (github.com)

670 points by huntergemmer · 182 days ago · 214 comments on HN

Article summary

ChartGPU is a WebGPU-powered charting library that enables smooth and interactive rendering of large datasets. It supports various chart types, including line, area, bar, scatter, and more, and offers features like annotations, zooming, and streaming updates. The library is open-source and available on GitHub, with a focus on 2D data visualization. It has been demonstrated to handle large datasets, such as 1 million points, at 60 FPS.

Main themes

  • WebGPU
  • Charting library
  • Data visualization
  • Performance optimization
  • Open-source software
  • Financial charting

What commenters say

  • The library's performance is impressive, with some users reporting high frame rates even with large datasets.
  • There is a need for a 'pro' tier with additional features, such as real-time collaboration and premium chart types, to support the library's development and maintenance.
  • Some users have experienced issues with the library, including problems with scrollbars and WebGPU support on certain devices and browsers.
  • The library's licensing model is a topic of discussion, with some arguing that a more restrictive license, such as BSL or BUSL, would be necessary to prevent large companies from exploiting the open-source code.
  • The library has potential applications in the fintech space, particularly for streaming financial data and graphing it efficiently.
  • Some users have suggested adding features like Order Book Heatmaps, 3D Volatility Surfaces, and Fibonacci Retracements to make the library more attractive to fintech users.
  • The library's compatibility with different browsers and devices is a concern, with some users reporting issues with Firefox and Android support.
  • The use of WebGPU is seen as a key factor in the library's performance, but its support is not yet widespread across all browsers and devices.