Skip to main content

Crate charton

Crate charton 

Source
Expand description

Charton is a powerful plotting library for Rust that provides first-class, native support for Rust Polars, and offers an API similar to Python’s Altair, making it easy for users familiar with declarative, instruction-based plotting to migrate. It also allows you to leverage existing mature visualization ecosystems, such as Altair and Matplotlib. By seamlessly integrating with evcxr_jupyter, Charton facilitates the creation of informative and aesthetically pleasing visualizations interactively, making it especially well-suited for exploratory data analysis.

Modules§

alt
chart
coordinate
core
datasets
encode
error
facets
macros
Global macros providing syntactic sugar for data construction, external library integration, and developer convenience.
mark
prelude
render
scale
stats
theme
transform
visual

Macros§

chart
A convenience macro to initialize a [Chart] with data.
load_polars_df
Converts a Polars [DataFrame] into a Charton [Dataset].
load_polars_v42_52
Polars v0.42-v0.52 specific data ingestion macro.

Type Aliases§

Precision
Represents the floating-point precision used specifically for the rendering stage.