Termgraph – draw basic graphs in the terminal

Last Updated on September 26, 2020


Termgraph is a simple Python program that’s good for creating simple graphs in a terminal. It’s definitely not going to rival ggplot2 or any other sophisticated data visualization package.

A few additional plots would be useful such as histograms and scatter plots.

One of the virtues of command-line software that’s applicable to Termgraph is the ability to produce data files using custom scripts.

It’s not essential to use a data file, as you can feed input data directly via the command line.

Termgraph - no data file

There’s a few bugs in the program. For example, for the version we tested, vertical graphs aren’t functioning.

Website: github.com/mkaz/termgraph
Developer: Marcus Kazmierczak and contributors
License: MIT License

Termgraph is written in Python. Learn Python with our recommended free books and free tutorials.

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary

Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments