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.
Visualize Tabular Data
Section titled “Visualize Tabular Data”Turn any CSV or JSON table into charts. Numeric columns/fields each become their own chart.
vizb data.csv -o output.htmlUse --group/-g to turn non-numeric columns into the name / X / Y / Z dimensions:
vizb data.csv -g name -o output.htmlA JSON array of objects. Each object is a row. Each numeric key becomes its own chart. Nested objects flatten to dotted keys.
vizb data.json -o output.htmlGroup by one or more fields with --group/-g:
vizb data.json -g name -o output.htmlDetection is automatic. You can force the parser with -P csv or -P json.
Visualize Benchmarks
Section titled “Visualize Benchmarks”Pipe benchmark output straight in. The framework is detected from the content. No --parser is needed in most cases.
Pipe
go test -bench . | vizb -o output.htmlFrom a saved file
go test -bench . > bench.txtvizb bench.txt -o output.htmlJSON event stream (go test -bench -json is detected and converted automatically)
go test -bench . -json | vizb -o output.htmlCriterion and Divan output are both read from cargo bench.
Pipe
cargo bench | vizb -o output.htmlFrom a saved file
cargo bench > bench.txtvizb bench.txt -o output.htmlWorks with Vitest (npx vitest bench) and Tinybench (node bench.js).
Pipe
npx vitest bench | vizb -o output.htmlFrom a saved file
npx vitest bench > bench.txtvizb bench.txt -o output.htmlDetection is automatic. You can force the parser with -P go, -P rs:criterion, -P rs:divan, -P js:vitest, or -P js:tinybench.