#debugging #view #extension #show #window #visualize #visualizer-cli

visualizer

Connects to the visualizer CLI to show a visualization in a new window for supported values

2 releases

0.1.1 Mar 27, 2021
0.1.0 Mar 27, 2021

#299 in Visualization

Download history 4/week @ 2024-02-19 29/week @ 2024-02-26 10/week @ 2024-03-04 9/week @ 2024-03-11

52 downloads per month
Used in 2 crates (via image-visualizer)

MIT license

9KB
205 lines

Visualizer

A crate to visualize data. Requires the crate visualizer-cli to be installed globally.

Based on @hediet/visualization which also powers the Debug Visualizer extension for VS Code.

Installation

cargo install visualizer-cli
cargo add visualizer

Example

use visualizer::{view, visualizations};

fn main() {
    view!(&visualizations::Plotly::of_y(&vec![
        1.0, 2.0, 4.0, 9.0, 16.0
    ]));
}

Creates That Provide Visualizations

  • image-visualizer: Provides visualizations for images from the image crate.

Dependencies

~0.9–1.6MB
~37K SLoC