Skip to content

Getting Started

Vizb turns tables and benchmark output into interactive HTML charts. Feed it a CSV file, a JSON file, or benchmark results from Go, Rust, or JavaScript. Vizb detects the input format from the content. You only need --parser/-P when you want to override the guess.

Turn any CSV or JSON table into charts. Numeric columns/fields each become their own chart.

Terminal window
vizb data.csv -o output.html

Use --group/-g to turn non-numeric columns into the name / X / Y / Z dimensions:

Terminal window
vizb data.csv -g name -o output.html

Detection is automatic. You can force the parser with -P csv or -P json.

Pipe benchmark output straight in. The framework is detected from the content. No --parser is needed in most cases.

Pipe

Terminal window
go test -bench . | vizb -o output.html

From a saved file

Terminal window
go test -bench . > bench.txt
vizb bench.txt -o output.html

JSON event stream (go test -bench -json is detected and converted automatically)

Terminal window
go test -bench . -json | vizb -o output.html

Detection is automatic. You can force the parser with -P go, -P rs:criterion, -P rs:divan, -P js:vitest, or -P js:tinybench.