Skip to content

Gongbi (工笔) is a data visualization crate inspired by ggplot2

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

duskmoon314/gongbi

Repository files navigation

Gongbi (工笔)

A data visualization crate based on plotters

Usage

let mpg = CsvReadOptions::default()
    .with_has_header(true)
    .try_into_reader_with_file_path(Some("examples/mpg.csv".into()))?
    .finish()?;

let plot = plot!(mpg, aes!("displ", "hwy"), save = "gongbi.svg")
    + geom_point!()
    + labs!(caption = "Demo of geom_point");

plot.draw()?;

example scatters of mpg

License

Licensed under either of

at your option.

Note

  • mpg.csv is copied from ggplot2 package.

About

Gongbi (工笔) is a data visualization crate inspired by ggplot2

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages