cargo run --example cloropleth_unemployment
Display data from a csv and a tsv as a cloropleth on a geo projection.
cargo run --example vconcat_interactive
Display two charts that can be be interact together through selection
cargo run --example diverging_stacked_bar_chart
Display data from a json after doing some transformation on it as a stacked bar chart
cargo run --example scatterplot
Loads data from a csv
, deserializing to a struct
, and display a colored scatterplot.
cargo run --example stacked_bar_chart
Loads data from an URL, displaying the aggregated count by type by month as a stacked bar graph.
cargo run --example stock_graph
Loads data from a csv
, deserializing to a struct
, and display the graph as a line.
cargo run --example line_with_interval
Loads data from an URL, displaying the aggregated mean by year with the variance on a two level layers as a line graph.
cargo run --example pie_chart
Loads data from an URL, displaying the aggregated mean by year with the variance on a two level layers as a line graph.
cargo run --example from_ndarray
Loads data directly from a random ndarray::Array2
.
cargo run --example from_csv
Loads data directly from a csv
without deserializing to a struct
.
cargo run --example from_url
Loads data directly from an URL.
cargo run --example from_json_spec
Load the chart directly from the JSON spec.
cargo run --example from_mixed_json_rust
Create a chart from existing json and add new data
cargo run --example from_nalgebra --features nalgebra
Loads data directly from a random nalgebra::Matrix
.
cargo run --example from_rulinalg --features rulinalg
Loads data directly from a random rulinalg::matrix::Matrix
.
cargo run --example from_nalgebra --features nalgebra
Loads data directly from a random nalgebra::Matrix
.
cargo run --example from_rulinalg --features rulinalg
Loads data directly from a random rulinalg::matrix::Matrix
.
cargo run --example without_builders
Build a graph without using the builders. This is not the recommended way as it's more verbose and expose more the
internal structures and types, but it's possible when wanting to avoid Result
s produced by the Builders.