Reflex AI’s XY combines a native Rust core with WebGL2 client-side rendering, maintaining interactive speeds across datasets of up to 100 million points.
On 28 July 2026, Reflex AI open-sourced XY (xy) under the Apache-2.0 licence. Available via pip install xy for Python 3.11+, this early-stage (v0.0.1) library solves performance slowdowns in traditional Python charting tools.
At its core, XY pairs a fast Rust backend with WebGL2 browser rendering. Instead of processing data row-by-row, XY streams light binary files directly to the browser, splitting rendering tasks across WebGL2 for charts, 2D Canvas for grids, and basic HTML for menus.
To keep massive charts smooth, XY automatically simplifies complex visuals, it trims dense line charts (using M4 decimation over 10,000 points) and groups scattered points into a screen grid (density binning over 200,000 points). Original numbers are kept intact in Python so zooming in reveals precise values.
In browser tests on an Apple M5 Pro, Reflex AI’s XY opened charts in 0.08 seconds across datasets from 10,000 to 100 million points. At 10 million points, it ran 34× faster than Matplotlib and Plotly. While competing tools crashed at 100 million points, XY rendered in 0.081 seconds and saved a 10-million-point interactive chart as a tiny 258 KiB HTML file using just 0.32 GiB of memory. It includes 14 chart styles, a Matplotlib compatibility layer, and CSS/Tailwind design support.















































































