Live data from Hacker News

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

github.com

61–70 of 226 posts

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

#61
post #50

Bug report: there is something wrong with the slider below the chart in the million-points example: https://chartgpu.github.io/ChartGPU/examples/million-points/... While dragging, the slider does not stay under the cursor, but instead moves by unexpected distances.

Thanks - you're the second person to report this! Same issue as the Mac M1 scrollbar bug reported earlier.

Looks like the data zoom slider has a momentum/coordinate mapping issue. Bumping this up the priority list since multiple people are hitting it.

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

#62

Earlier quoted context omitted.

Why don't you judge the results, if the slop is so easy to detect, instead of using the mere indication of a particular tool to mean it's slop? Lazy.

Agree, but, ah, can you illuminate. Quite amazing 6000 points in under 3 months. Yuge. OK a few almost 1K posts, but they drop off. You must have some mega-point comments. Can you, eh, "point me" to a comment of yours that has a super amount of upvotes? Sorry if this is weird, it's just I've never personally experienced a comment with anything more than 100 - 200 points. And that was RARE. I totally get if you don't…

Yeah, thanks for giving me a reality-check on my HN addiction, really need to put back my original /etc/hosts file it seems :|

So, apparently these are my five most upvoted comments (based on going through the first 100 pages of my own comments...):

- 238 - https://news.ycombinator.com/item?id=46574664 - Story: Don't fall into the anti-AI hype

- 127 - https://news.ycombinator.com/item?id=46114263 - Story: Mozilla's latest quagmire

- 92 - https://news.ycombinator.com/item?id=45900337 - Story: Yt-dlp: External JavaScript runtime now required f...

- 78 - https://news.ycombinator.com/item?id=46056395 - Story: I don't care how well your "AI" works

- 73 - https://news.ycombinator.com/item?id=46635212 - Story: The Palantir app helping ICE raids in Minneapolis

I think if you too retire, have nothing specific to do for some months, and have too much free time to discuss with strangers on the internet about a wide range of topics you ideally have strong opinions about, you too can get more HN karma than you know what to do with :)

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

#63

Earlier quoted context omitted.

I didnt read your comment, because it would take me longer than just writing: your comment looks like LLM slop.

If thats your signal then you lock yourself out of all parts of this website, not the best heuristic

Yeah, that'd be stupid right? I have the same mindset with projects and code. If it's a good project, it's a good project, I don't care what IDE they used. If the code is shit it's shit regardless of how it was produced. But at least point to something concrete so me and others could potentially learn something, or understand something better.

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

#65
post #42

Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough. https://caniuse.com/webgpu

It’s available everywhere if you are on newest OS and newest browser.

Biggest issue is MacOS users with newer Safari on older MacOS.

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

#68

Right on time. We’ve been working on a browser-based Link Graph (osint) analysis tool for months now ( https://webvetted.com/workbench ). The graph charting tools on the market are pretty basic for the kind of charting we are looking to do (think 1000s of connected/disconnected nodes/edges. Being able to handle 1M points is a dream. This will come in very handy.

That's a cool project! Just checked out the workbench. I should be upfront though: ChartGPU is currently focused on traditional 2D charts (line, bar, scatter, candlestick, etc.), not graph/network visualization with nodes and edges. That said, the WebGPU rendering patterns would translate well to force-directed graphs. The scatter renderer already handles thousands of instanced points - extending that to edges wouldn't be a huge leap architecturally.

Is graph visualization something you'd want as part of ChartGPU, or would a separate "GraphGPU" type library make more sense? Curious how you're thinking about it.

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

#69

Right on time. We’ve been working on a browser-based Link Graph (osint) analysis tool for months now ( https://webvetted.com/workbench ). The graph charting tools on the market are pretty basic for the kind of charting we are looking to do (think 1000s of connected/disconnected nodes/edges. Being able to handle 1M points is a dream. This will come in very handy.

Agreed. This is highly, highly useful. Going to integrate this today.

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

#70
Wow, this is great. I practically gave up on rendering large data in EasyAnalytica because plotting millions of points becomes a bad experience, especially in dashboards with multiple charts. My current solution is to downsample to give an “overview” and use zoom to allow viewing “detailed” data, but that code is fragile.

One more issue is that some browser and OS combinations do not support WebGPU, so we will still have to rely on existing libraries in addition to this, but it feels promising.

Post reply on HN