• bitcoinBitcoin(BTC)$78,740.00-0.11%
  • ethereumEthereum(ETH)$2,487.571.35%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$704.431.29%
  • rippleXRP(XRP)$1.41-1.89%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$101.174.79%
  • tronTRON(TRX)$0.334462-1.04%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-0.67%
  • HyperliquidHyperliquid(HYPE)$81.35-0.65%
  • dogecoinDogecoin(DOGE)$0.0869200.66%
  • zcashZcash(ZEC)$782.63-0.29%
  • RainRain(RAIN)$0.017465-1.11%
  • USDSUSDS(USDS)$1.00-0.01%
  • chainlinkChainlink(LINK)$11.592.26%
  • whitebitWhiteBIT Coin(WBT)$72.870.16%
  • leo-tokenLEO Token(LEO)$9.27-0.40%
  • moneroMonero(XMR)$444.60-0.59%
  • cardanoCardano(ADA)$0.209658-0.17%
  • stellarStellar(XLM)$0.182451-0.29%
  • bitcoin-cashBitcoin Cash(BCH)$267.660.99%
  • CantonCanton(CC)$0.116682-1.57%
  • daiDai(DAI)$1.00-0.02%
  • USD1USD1(USD1)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • litecoinLitecoin(LTC)$49.66-0.70%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.38-3.08%
  • hedera-hashgraphHedera(HBAR)$0.077565-0.67%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.35-0.22%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.35%
  • suiSui(SUI)$0.75-1.35%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • crypto-com-chainCronos(CRO)$0.0591510.34%
  • tether-goldTether Gold(XAUT)$4,594.81-0.41%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • uniswapUniswap(UNI)$4.372.88%
  • MemeCoreMemeCore(M)$1.13-3.49%
  • nearNEAR Protocol(NEAR)$1.86-0.26%
  • okbOKB(OKB)$111.93-1.78%
  • BittensorBittensor(TAO)$243.074.37%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.18%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • pax-goldPAX Gold(PAXG)$4,600.91-0.45%
  • aaveAave(AAVE)$125.13-2.03%
  • AsterAster(ASTER)$0.711.17%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.058084-1.17%
  • Pump.funPump.fun(PUMP)$0.004599-4.92%
  • OndoOndo(ONDO)$0.3720941.32%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Reflex Open Sources XY: A Rust-Backed Super-Fast Python Charting Library That Keeps 100 Million Point Charts Interactive

August 4, 2026
in AI & Technology
Reading Time: 15 mins read
A A
Reflex Open Sources XY: A Rust-Backed Super-Fast Python Charting Library That Keeps 100 Million Point Charts Interactive
ShareShareShareShareShare

Reflex AI has released XY, an Apache-2.0 Python charting library for interactive 2D visualization. Most Python charting stacks create one drawable object per row, so past a few hundred thousand points, render, hover, and zoom degrade. XY moves the work into a native Rust core, sends the browser typed binary buffers instead of JSON, and draws with WebGL2. In the terms of the benchmark, XY holds 0.071 s at 10,000 points and 0.081 s at 100 million. It ships as pip install xy and requires Python 3.11 or newer.

Is it deployable

XY is early alpha at version 0.0.1. It ships as pip install xy and requires Python 3.11 or newer.

YOU MAY ALSO LIKE

Google Research Introduces GlucoFM: A 0.72M-Parameter Dual-Stream Foundation Model for Continuous Glucose Monitoring

GLM-5.3-Flash will likely handle 45% of your AI workloads

That maps to a clear deployment envelope. Startups and mid-size data teams can adopt it now for internal analytics, notebooks, and shareable artifacts. Regulated enterprises should pilot it rather than put it on a customer-facing critical path. Fit is strongest where row counts are the actual bottleneck: quantitative finance (tick data), genomics and bioinformatics (Manhattan plots, allele-frequency scans), observability and telemetry, astronomy, and geospatial analytics. Here is how to install it in 1 line.

Explainer

How the representation ladder works

XY keeps canonical f64 columns in a ColumnStore in Python and picks a rendered representation per trace. Current defaults start M4 decimation above 10,000 rows for long ordered lines, and automatic scatter density above 200,000 points. Density grids default to 512×384 cells. The docs are explicit that these are pre-1.0 policy thresholds, not API guarantees.

Because exact values stay in Python, hover, selection, and pick() still resolve original rows when the active tier has an exact mapping. Zooming into a narrow window returns exact visible points for a padded aligned window, and nearby pans render from that cached window without another request. Reflex is careful not to overclaim here: density is natively binned and GPU-rendered, not an all-GPU ingest pipeline, and ingest, binning, and decimation still scale with source row count.

Performance

The benchmark drives every library through a real browser and stops the clock only when the canvas is verified correct and stable across 10 byte-identical frames. Measurements come from one Apple M5 Pro, one run per cell.

Points XY Matplotlib (WebAgg) Plotly (scattergl)
1M 0.084 s 0.357 s 0.614 s
10M 0.083 s 2.804 s 3.367 s
50M 0.076 s 13.385 s ✕
100M 0.081 s ✕ ✕

That is a stated 34× speedup at 10M and 177× at 50M. Peak Python-side memory at 10M is 0.32 GiB for XY against 0.84 GiB for Matplotlib and 1.86 GiB for Plotly. With density=False, XY still draws 100M exact markers in 1.343 s on 5.26 GiB. Reflex also reports rendering the full OpenStreetMap dataset — 10 billion points.

A 10-million-point interactive scatter exports to 258 KiB of HTML, versus a stated 259 MiB for the Plotly equivalent. The payload stays near 258 KiB from 1M through 100M rows.

API surface and integration

Charts are composed declaratively from marks, axes, legends, tooltips, and annotations. Fourteen chart families ship today, including scatter, line, area, histogram, box, violin, ECDF, heatmap, hexbin, and contour. Styling accepts CSS and Tailwind classes through stable DOM slots. For migration, import xy.pyplot as plt runs common Matplotlib pyplot code, though the compatibility guide notes not everything is supported. A separate reflex-xy adapter turns any chart into a Reflex component with no JavaScript or iframe.

Key Takeaways

  • XY holds ~0.08 s render time from 10k to 100M points by drawing screen-bounded representations, not per-row markers.
  • Rust core plus binary transport cuts a 10M-point interactive export to 258 KiB against Plotly’s 259 MiB.
  • Exact f64 columns stay in Python, so hover, selection, and zoom drilldown still return original rows.
  • Deployable today for notebooks, internal dashboards, and shareable HTML; version 0.0.1 alpha argues against critical paths.
  • Best fit is finance, genomics, telemetry, and astronomy, where sampling before plotting is the current default.

Check out the GitHub Repo and Technical details. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Google Research Introduces GlucoFM: A 0.72M-Parameter Dual-Stream Foundation Model for Continuous Glucose Monitoring
AI & Technology

Google Research Introduces GlucoFM: A 0.72M-Parameter Dual-Stream Foundation Model for Continuous Glucose Monitoring

August 27, 2026
GLM-5.3-Flash will likely handle 45% of your AI workloads
AI & Technology

GLM-5.3-Flash will likely handle 45% of your AI workloads

August 27, 2026
Australia’s Recording Association Bans AI-Made Music From Charts
AI & Technology

Australia’s Recording Association Bans AI-Made Music From Charts

August 26, 2026
Panic Is Refunding Tariff Fees Paid By Playdate Owners
AI & Technology

Panic Is Refunding Tariff Fees Paid By Playdate Owners

August 26, 2026
Next Post
Full Episode: TODAY Show – July 6

Full Episode: TODAY Show - July 6

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Rep. David Jolly thanks voters after projected primary win

Rep. David Jolly thanks voters after projected primary win

August 20, 2026
Wild-caught Tiger released into Kazakh nature reserve

Wild-caught Tiger released into Kazakh nature reserve

August 25, 2026
Adam Mosseri Says It’s ‘News To Me’ That Instagram Employees Limited His Exposure To Teen Safety Data

Adam Mosseri Says It’s ‘News To Me’ That Instagram Employees Limited His Exposure To Teen Safety Data

August 25, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!