Charton aims to be a lightweight, high-performance, and versatile Rust visualization library built on the Grammar of Graphics.
1. Decoupling & Core Optimization
2. API & Macro Ergonomics
3. High-Performance Data Pipeline
4. WGPU Backend:
Finalize the pipeline for direct hand-off to GPU vertex buffers, enabling 60 FPS interaction on massive datasets
5. Advanced Analytical Features
Charton aims to be a lightweight, high-performance, and versatile Rust visualization library built on the Grammar of Graphics.
1. Decoupling & Core Optimization
PolarsLogic: Refactor internal compute kernels to use standard library primitives,ahashfor fast grouping, andrayonfor data-parallel execution.Datasetstruct to unify inputs from Vec, ndarrays, and DataFrames into a normalized internal format.2. API & Macro Ergonomics
chart!macro that leverages pattern dispatching to ingest either unified data sources (like DataFrames) or variadic raw vectors with automaticstringify!-based header capture.3. High-Performance Data Pipeline
&[f64]for internal analytical computations (aggregation, scaling) to maintain precision, and&[f32],bytemuckfor GPU-bound rendering buffers.resvgwithtiny-skiato implement true png backend.4. WGPU Backend:
Finalize the pipeline for direct hand-off to GPU vertex buffers, enabling 60 FPS interaction on massive datasets
lyonfordraw_pathto obtain the highest performance. Use WGSL Shader to calculate the line thickness instead of lyon.5. Advanced Analytical Features