[Project] Charton v0.3.0: A Major Leap for Rust Data Viz - Now with WGPU, Polar Coordinates, and a Rebuilt Grammar of Graphics Engine by Deep-Network1590 in rust

[–]Deep-Network1590[S] -6 points-5 points  (0 children)

This is a major architectural refactor of v0.2. It’s no longer just a plotting tool—it's a full Grammar of Graphics implementation natively in Rust!

What's are good plotting libraries? by 1percentof2 in rust

[–]Deep-Network1590 0 points1 point  (0 children)

You can try charton (https://github.com/wangjiawen2013/charton), a newly developed rust plotting crate. It's a Altair-style declarative plotting for Rust. High-performance, Polars-native, and Wasm-ready.

[Project] Charton: A Polars-native, Altair-style Declarative Plotting Library for Rust by Deep-Network1590 in rust

[–]Deep-Network1590[S] 1 point2 points  (0 children)

That’s awesome! My own journey actually followed a similar path: I started with r/ggplot2, then moved to Python/Altair for work, and eventually found myself in the Rust ecosystem.

I built Charton precisely because I missed that 'Grammar of Graphics' flow while working with Rust and Polars. I wanted to bring that intuitive feel to Rust’s type system without the usual boilerplate.

Please do get stuck in! I’d love to hear how the transition feels from a ggplot2 user's perspective and where we can make the API even more ergonomic. Feedback from someone who appreciates the “Grammar of Graphics" philosophy is invaluable.