apetuskey
Joined 5 years ago
Karma
150
Submissions
87
Member since
Dec 23
┏━┳━━━━━━━━┓
View on Hacker NewsJoined 5 years ago
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
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
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.