Expand description
§esoc-chart
High-level charting API for data visualization, built on esoc-gfx. Provides matplotlib-equivalent plotting for Rust ML workflows.
§New Grammar-of-Graphics API
The new API provides 3 levels:
- Express: one-liner functions (
scatter,line,bar) - Grammar: composable
Chart/Layer/Encodingtypes - Scene Graph: direct access via
esoc-scene
Modules§
- axes
- Axes: a single plot area with axis config, series, and legend.
- axis
- Axis configuration, scales, and tick generation.
- chart
- Chart series types.
- compile
- Chart → SceneGraph compiler.
- error
- Error types for esoc-chart.
- express
- Express API: one-liner chart creation functions.
- figure
- Figure: top-level chart container.
- grammar
- Grammar-of-graphics types: Chart, Layer, Encoding, Stat.
- legend
- Legend rendering for chart series.
- new_
theme - Enhanced theme for the grammar-of-graphics chart API.
- prelude
- Legacy re-exports.
- render
- Rendering pipeline: Figure → Canvas.
- series
- Series trait and data bounds for chart rendering.
- theme
- Chart themes controlling colors, fonts, and visual style.
- v2
- New API re-exports.