Skip to main content

nova_plot/
lib.rs

1//! # Nova Plot
2//!
3//! Native data visualization engine for NovaType.
4//!
5//! This crate provides:
6//! - SVG-based chart rendering
7//! - Multiple chart types (line, bar, scatter, pie)
8//! - CSV and JSON data parsing
9//! - Configurable styling
10//!
11//! ## Example
12//!
13//! ```rust,ignore
14//! use nova_plot::{Chart, ChartType, DataSource};
15//!
16//! let data = DataSource::from_csv("data.csv")?;
17//! let chart = Chart::new(ChartType::Line)
18//!     .with_title("Sales Over Time")
19//!     .with_data(data);
20//!
21//! let svg = chart.render()?;
22//! ```
23
24pub mod chart;
25pub mod data;
26pub mod error;
27pub mod render;
28pub mod style;
29
30pub use chart::{Chart, ChartType};
31pub use data::DataSource;
32pub use error::{Error, Result};
33pub use style::ChartStyle;