Article may be outdated

This article is 64 days old. Some details may have changed since publication.

Hacker News·3 min read·medium

Show HN: XY – Fast, composable, GPU-accelerated charts, written in Rust

A
apetuskey
Show HN: XY – Fast, composable, GPU-accelerated charts, written in Rust
✦AI Summary

XY is a new, high-performance Python charting library built with a Rust core to handle massive datasets. It allows developers to create interactive, GPU-accelerated visualizations that scale from small plots to millions of data points.

Why it matters

It provides a significant performance upgrade for data scientists and web developers who need to visualize large-scale datasets without sacrificing the ease of use of Python.

✦Dive DeeperCreate a free account to unlock

XY is an extremely fast, interactive, customizable Python charting library for the web, notebooks, and static exports.

Charts are composed declaratively or through matplotlib conventions. You can fully customize them with Python, CSS, or Tailwind.

With small charts, every point is sent to the browser. For large charts, the Rust core computes only what the screen needs to display, based on its resolution. Pan, zoom, hover, and selection can show full details by running the same process for the new range, and a selection returns the original rows.

With XY we rendered the entirety of OpenStreetMap — a 10,000,000,000 point dataset. See the example →

XY is in alpha and is receiving frequent enhancements. ⭐️ Star the repo to follow the progress.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in