#debugging #view #data #vs #extension #show

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

#306 in Visualization

21 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.8–1.6MB
~35K SLoC