Plotapi

Engaging visualisations, made easy.

Key FeaturesGet AccessInstallationUsageLicense

screenshot

Key Features

Get Access

Visit the website to get access to Plotapi.

Installation

Get up and running with Rust with the plotapi crate.

Usage

Example - Chord Pro

https://user-images.githubusercontent.com/15690380/126084021-b008b256-2a31-4106-84af-42777ea480d9.mp4

Created with Plotapi

```rust use plotapi::params; use plotapi::Visualisation;

fn main() { let names: Vec = vec!["A", "B", "C", "1", "2", "3"] .into_iter() .map(String::from) .collect();

let matrix: Vec<Vec<f64>> = vec![
    vec![0.0, 0.0, 0.0, 1.0, 4.0, 1.0],
    vec![0.0, 0.0, 0.0, 1.0, 3.0, 2.0],
    vec![0.0, 0.0, 0.0, 1.0, 2.0, 2.0],
    vec![1.0, 1.0, 1.0, 0.0, 0.0, 0.0],
    vec![4.0, 3.0, 2.0, 0.0, 0.0, 0.0],
    vec![1.0, 2.0, 2.0, 0.0, 0.0, 0.0],
];

let colors: Vec<String> = vec![
    "#7400B8", "#5E60CE", "#5684D6", "#56CFE1", "#64DFDF", "#80FFDB",
]
.into_iter()
.map(String::from)
.collect();

let param = params!({
    "matrix": matrix,
   "names": names,
   "colors":  colors

});

Visualisation {
    api_key: "17ec2f26-076c-4110-a23a-9a02efe2d52a",
    params: param,
    endpoint: "chord",
}
.to_html();

}

```

Example - Sankey Pro

https://user-images.githubusercontent.com/15690380/126084745-712fd744-b626-429d-85f3-30b11979fe30.mp4

License

MIT


Prefer not to code? Check out the App at PlotAPI.com. Python version available.

PlotPanel

plotapi.com  ·  GitHub @shahinrostami  ·  Twitter @shahinrostami  ·  A Polyra innovation