Bar Charts With termgraph

Turn simple labels and numbers into colored terminal bar charts.

macOSstatsTerminalcsvLow risk
Run printf 'A 10\nB 20\nC 15\n' | termgraph to draw the bars.

01Command

Command
$ printf 'A 10\nB 20\nC 15\n' | termgraph

02What it does

termgraph reads whitespace or CSV input and draws horizontal bars with labels and values, optionally scaled and colorized. It is a quick way to visualise a few numbers without opening a spreadsheet or plotting tool.

03Risk

RiskLow risk
Requirementspipx install termgraph
CompatibilitymacOS with Homebrew installed
!Warning: It is best for small datasets and simple comparisons; for serious charting use gnuplot or matplotlib.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Official project documentation
    Official project · vendor-doc · 2026-09-20
    Evidence: termgraph renders bar charts in the terminal from plain text data or CSV.
  • Project homepage
    Official project · vendor-doc · 2026-09-20
    Evidence: termgraph renders bar charts in the terminal from plain text data or CSV.

Last verified: 2026-09-22 · Category: Developer

06Related solutions