All Projects → saresend → Gust

saresend / Gust

A small charting/visualization tool and partial vega implementation for Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Gust

Py Ascii Graph
A simple python lib to print data as ascii histograms
Stars: ✭ 107 (-7.76%)
Mutual labels:  graph
Dag
🐠 An Angular service for managing directed acyclic graphs
Stars: ✭ 111 (-4.31%)
Mutual labels:  graph
Pi Temp
Web server using a Raspberry Pi and DHT22 sensor to graph the humidity and temperature in my apartment over time.
Stars: ✭ 114 (-1.72%)
Mutual labels:  graph
Protodot
transforming your .proto files into .dot files (and .svg, .png if you happen to have graphviz installed)
Stars: ✭ 107 (-7.76%)
Mutual labels:  graph
Grammers
(tele)gramme.rs - use Telegram's API from Rust
Stars: ✭ 109 (-6.03%)
Mutual labels:  rust-library
Misp Maltego
Set of Maltego transforms to inferface with a MISP Threat Sharing instance, and also to explore the whole MITRE ATT&CK dataset.
Stars: ✭ 112 (-3.45%)
Mutual labels:  graph
Workbase
Grakn Workbase (Knowledge IDE)
Stars: ✭ 106 (-8.62%)
Mutual labels:  graph
Coingraph
Coingraph is a real-time graph for cryptocurrencies.
Stars: ✭ 116 (+0%)
Mutual labels:  graph
Android Ratingreviews
Simple star rating system bars, a view similar to the ones seen on Google Playstore. ⭐🌟✨
Stars: ✭ 110 (-5.17%)
Mutual labels:  graph
Bio4j
Bio4j abstract model and general entry point to the project
Stars: ✭ 113 (-2.59%)
Mutual labels:  graph
Walk
A fast, general purpose, graph based build and task execution utility.
Stars: ✭ 108 (-6.9%)
Mutual labels:  graph
Vue Plotly
A vue wrapper for plotly.js chart library
Stars: ✭ 109 (-6.03%)
Mutual labels:  graph
Open Graph
Library that assists in building Open Graph meta tags
Stars: ✭ 112 (-3.45%)
Mutual labels:  graph
Typescript
Algebraic graphs implementation in TypeScript
Stars: ✭ 107 (-7.76%)
Mutual labels:  graph
Nodeeditor
Qt Node Editor. Dataflow programming framework
Stars: ✭ 1,734 (+1394.83%)
Mutual labels:  graph
Ontodia
Ontodia data diagraming library
Stars: ✭ 107 (-7.76%)
Mutual labels:  graph
Graphquery
GraphQuery is a query language and execution engine tied to any backend service.
Stars: ✭ 112 (-3.45%)
Mutual labels:  graph
X6
🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
Stars: ✭ 2,686 (+2215.52%)
Mutual labels:  graph
Py Factorgraph
Factor graphs and loopy belief propagation implemented in Python
Stars: ✭ 115 (-0.86%)
Mutual labels:  graph
Mac Graph
The MacGraph network. An attempt to get MACnets running on graph knowledge
Stars: ✭ 113 (-2.59%)
Mutual labels:  graph

Gust

A charting library for rust!

Build Status Crates.io

Disclaimer This is still very much a work in progress! APIs are very unstable and subject to change. Contributions and suggestions are welcomed and greatly appreciated!


What is Gust

Gust is a small charting crate to make it really easy to build simple interactive data visualizations in rust. It also serves as a partial Vega implementation that will (hopefully) become more complete over time.


Gust allows you to render the actual visualizations themselves using D3.js, (meaning they're interactive!) as well as providing the flexibility to directly render the underlying JSON specification for Vega.

Currently Implementations

Currently, Gust supports only 3 charts so far:

  1. Bar Charts
  2. Stacked Bar Charts
  3. Line Charts

More will be coming soon! If you're interested in contributing your own, just make a pull request. Cheers!

Why did you do this in rust?

Installation

gust = "0.1.4"

Samples and Sample Usage

    use backend::bar_chart::BarChart;
    use frontend::write::render_graph;

Sample Bar Chart

     let mut b = BarChart::new();
        let v = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L"];
        for i in 0..10 {
            b.add_data(v[i].to_string(), (i * i * i) as i32);
        }
        render_graph(&b, FileType::HTML).unwrap();

Result: gust_build/html/bar_chart.html

bar chart

Stacked Bar Chart example

use backend::stacked_bar_chart::StackedBarChart;

let mut b = StackedBarChart::new();
        for i in 0..10 {
            b.add_data(i, i * i, 1);
            b.add_data(i, i + i, 0);
        }
        render_graph(&b, FileType::HTML).unwrap();

Result: gust_build/html/stacked_bar_chart.html

stacked bar chart

Additional Docs

https://docs.rs/gust/0.1.4/gust/

Special Mentions

The rendering is all handled by Vega: https://vega.github.io/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].