kasts 3 hours ago

I’m not convinced GPU acceleration is a meaningful advantage for most charting use cases. Most dashboards don’t render enough data for it to matter. Once a chart is dense enough for rendering to become the bottleneck, it normally is already be too crowded to be meaningful. Zooming can justify supporting larger datasets, but sampling/viewport culling and level of detail often avoid drawing unnecessary points...

  • apetuskey 3 hours ago

    It depends on how much data you are planning on showing, but as you can see from the benchmarks its also more performant than other python charting libs for small data.

    We also built this library for extreme customization with CSS/Tailwind support so rendering large amounts of data is an important but not the only advantage.

  • formerly_proven 3 hours ago

    There are some niche charting applications which are offloaded to FPGAs and even ASICs.

  • Evidlo 2 hours ago

    I constantly have to work around the slowness of matplotlib when creating animated sequences for my scientific work (even with the Agg back end)

    • apetuskey 2 hours ago

      How many points are you working with usually?

ahns 1 hour ago

Interesting; how do the examples compare to datashader?

Edit: for my use cases, I use napari (~1e7-8 points) if I need true interactivity; otherwise, datashader/holoviz, or even just fast-histogram's 2D histograms work.

For extremely large point clouds, these caveats[0] still apply. It irks me when people make dense scatterplots without any indication of just how dense some portions are.

Still, if it can indeed handle 1e10 points, that's pretty impressive.

[0]: https://datashader.org/user_guide/Plotting_Pitfalls.html

HoneySpoons 1 hour ago

This is awesome, can easily see this becoming a standard library. Can't wait for the 3D and volume visualizations.

NickyHeC 3 hours ago

been stuck on matplotlib for centuries, academia loves such a change

  • apetuskey 3 hours ago

    Thanks! Yes we are working on a Matplotlib compatible Api its very early but we hope to polish it up soon.

kl01 1 hour ago

how does this stack up to evilcharts? my main use case is mapping out data onto frontend, and there are a lot of great libraries out there

  • apetuskey 1 hour ago

    its a python charting library

pcpliu 3 hours ago

I misread it as ‘Chatting’ library and I was so confused on the GitHub page.

Love rust as the impl.

airstrike 3 hours ago

> XY is an extremely fast, interactive, customizable Python charting library for the web

  • apetuskey 3 hours ago

    I have adjusted the title

farhan99 4 hours ago

Great, Rust and Tailwind CSS two of my favorite things in one.

kl01 2 hours ago

absolutely fantastic.

ranger_danger 3 hours ago

> written in Rust

> XY is an extremely fast, interactive, customizable Python charting library

which is it?

  • apetuskey 3 hours ago

    Its a Python library with some rust in it, to speed up some of the calculations

  • xg15 3 hours ago

    Python libraries can have compiled artifacts that were written in any language. This is such a library.

cozzyd 3 hours ago

no support for native GUI?

  • apetuskey 3 hours ago

    What do you mean by this?

    • cozzyd 1 hour ago

      like, not in a browser?

kl01 2 hours ago

super cool!