plotlars 0.12.0

Plotlars is a Rust library designed to facilitate the integration between the Polars data analysis library and visualization libraries.
use plotlars::{BarPlot, CsvReader, Plot, Rgb};

fn main() {
    let dataset = CsvReader::new("data/animal_statistics.csv")
        .finish()
        .unwrap();

    BarPlot::builder()
        .data(&dataset)
        .labels("animal")
        .values("value")
        .group("gender")
        .error("error")
        .colors(vec![Rgb(255, 127, 80), Rgb(64, 224, 208)])
        .plot_title("Bar Plot")
        .x_title("animal")
        .y_title("value")
        .legend_title("gender")
        .build()
        .plot();
}