Hacker Newsnew | past | comments | ask | show | jobs | submit | apetuskey's commentslogin

Yeah lots of things need to be improved this is the first release. Thanks for the tip


Thanks! XY already uses a similar pixel-aware approach

long line and area traces are reduced in Rust using M4 to produce viewportsized extrema, that is then refined as you zoom. Dense scatter plots use a fixed-size density grid plus a representative sample


Yes, it’s significantly faster than existing Python charting libraries for real-time updates.

Instead of serializing and sending the full dataset as JSON, it sends compact typed binary buffers and only the screen-relevant data reducing payload size and browser-side work.

More detail here https://github.com/reflex-dev/xy#how-it-works


its a python charting library


How many points are you working with usually?


Not GP, but my datasets weigh in at around 2-20GB depending.


I have adjusted the title


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


What do you mean by this?


like, not in a browser?


Yeah it probably works with most guy libraries im guess I have tried it


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.


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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: