Skip to content

Introduction

Vizb turns CSV, JSON, and benchmark output into interactive charts and stats without writing chart code. Point it at data (CLI, a coding agent, GitHub Action, or REST), open one HTML report in any browser.

Need the binary first? Install, then come back here.

Given a CSV like this — use Copy CSV, save as sales.csv, then run the command:

sales.csv
order_dateregioncategoryproductquantityamount
2024-01-01CentralHardwareConnector162488.24
2024-01-02EastToolsGear42207.08
2024-01-03NorthMechanicalSensor203465.22
2024-01-04WestElectronicsValve247633.44
2024-03-12SouthIndustrialWidget315088.10
2024-06-18EastElectronicsRelay122214.50
2024-09-05NorthHardwareBolt281724.27
2024-12-20WestToolsGadget192938.82
2025-02-08CentralMechanicalValve277350.26
2025-04-14SouthElectronicsWidget413278.77
2025-07-22EastIndustrialConnector155093.42
2025-10-03NorthToolsGear334102.15
2025-11-19WestHardwareSensor222890.40
2025-12-28SouthMechanicalGadget26611.32

Natural-language prompt after installing the vizb skill. The agent runs the CLI.

/vizb sales.csv as bar by region & category

Open sales.html in a browser. You get a grouped bar chart: region on X, category as series, one chart tab per numeric column (quantity, amount). The full repo sample is examples/csv/sales.csv (10,000 orders across 2024–2025).

Flag Role
bar One chart type (smallest learning path)
-g region,category Category columns → dimensions
-p x,y First group column → X, second → Y series
-o sales.html Self-contained HTML

Zero flags (auto-group picks a categorical column when present):

Terminal window
vizb bar sales.csv -o sales.html

JSON works the same way (array of objects; nested objects flatten to dotted keys):

Terminal window
vizb bar data.json -o output.html
vizb bar data.json -g name -p x -o output.html

Nested arrays inside an envelope: --json-path.

Detection is automatic. Force with -P csv or -P json when needed.

Vizb is not a charting library you embed, and not a drag-and-drop dashboard. It is a pipeline (flags when you need them; auto-inference when you don’t):

table or bench text
→ parser (auto-detected)
→ map rows to Name / X / Y / Z
→ Dataset
→ chart renderers + optional stats
→ HTML or JSON
Idea Meaning
Row → point Each data row becomes a point with dimensions and numeric stats
Dimensions Up to four labels: Name / X / Y / Z — details in Dimensions
Group Categories become axes; each numeric column becomes its own chart; duplicate keys are summed
Select Columns become coordinate axes (or picked metrics); rows stay separate points
Charts Every chart type reads the same Dataset — see Charts

Outputs: HTML (default interactive report), JSON (Dataset for merge/re-render), or the same conversions via vizb serve.

Deepen when you need to:

Pipe benchmark output. The framework is detected from the content in most cases.

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

From a saved file:

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

Split names such as BenchmarkSort/1024/QuickSort:

Terminal window
go test -bench . | vizb -p n/x/y -o output.html

Force a parser with -P go, -P rs:criterion, -P rs:divan, -P js:vitest, or -P js:tinybench.

Goal Start here
Install Install
Chart from a coding agent AI agents (/vizb sales.csv as bar by region & product, show labels)
Dimensions in depth Dimensions
Group vs select Group vs Select
CSV / JSON rules Tabular data
Pattern / regex grouping Group
Benchmarks Supported inputs
Merge / CI Merging, GitHub Action
Live samples Examples