An open API service indexing awesome lists of open source software.

https://github.com/justanotherbyte/ferrischart

A crate to build informative graphs in Rust. Heavily a WIP.
https://github.com/justanotherbyte/ferrischart

charts graphs math matplotlib rust

Last synced: 10 months ago
JSON representation

A crate to build informative graphs in Rust. Heavily a WIP.

Awesome Lists containing this project

README

          

ferrischart

## What is Ferrischart?
Ferrischart is a project I'm working on to build informative charts in Rust. This crate is inspired by matplotlib, but doesn't necessarily aim to replace its capabilities.

Ferrischart also aims to implement a range of mathematical functions and algorithms that relate to graphs *(such as euclidean distance)*.

Ferrischart is a heavy WIP. Feel free to contribute if you have time.

### An example of what Ferrischart is currently capable of:

#### Scatter Graphs

![scatter](tests/scatter.png)

Running `cargo test` reported that it took `0.38s` to generate. The test can be seen in `src/lib.rs`, which used `100` pairs of `(f32, f32)` data. Keep in mind this is the time it took to run the test + any additional procedures cargo needs to run. This was run on the following machine:
```diff
Model Name: MacBook Pro
+ Model Identifier: MacBookPro11,3
+ Processor Name: Quad-Core Intel Core i7
+ Processor Speed: 2.8 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Hyper-Threading Technology: Enabled
+ Memory: 16 GB
System Firmware Version: 474.0.0.0.0
```