Skip to content

duskmoon314/gongbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

 
 
 

Contributors

Languages