# mkaz/termgraph

A Python command-line and library that draws basic graphs in the terminal

Repository: https://github.com/mkaz/termgraph
Canonical: https://ross.abutalabs.com/products/termgraph
Language: Python
License: MIT
License Family: permissive
Last push: 2026-03-25T05:21:11+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 76, longevity 100
- inputs: {"age_days": 5094, "days_push": 161, "days_rel": 161, "gap_med": 6.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3293, forks 171 (observed 2026-08-28T04:07:54.017856+00:00)

## What it is
Termgraph is a Python command-line tool and library that draws basic charts like bar graphs, histograms, stacked charts, and calendar heatmaps directly in the terminal using Unicode block characters. It reads simple label/value data files or stdin and supports colors, custom tick marks, and emoji.

## Use cases
- draw bar charts in the terminal
- visualize data from a file without a GUI
- render a calendar heatmap in the shell
- quickly chart numeric data from stdin
- add terminal charts to shell scripts
- plot quarterly sales as a terminal bar graph

## When to choose
- you need lightweight terminal-based data visualization with no GUI
- you want to chart data inside shell scripts or CLI pipelines
- you prefer a simple Python library for ASCII/Unicode charts

## When to avoid
- you need interactive, publication-quality, or web-based charts
- you need line/scatter plots or advanced chart types
- your terminal does not support Unicode block characters or ANSI colors

## Facets
- artifact type: cli-tool
- maturity: active
- function: data-visualization, charts, cli
- domain: data-visualization, developer-tools
- platform: cli, python, cross-platform
- tags: terminal-graphs, bar-charts, ascii-art, calendar-heatmap, terminal-ui, command-line

## Member repositories
- mkaz/termgraph (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:54.017856+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:44.863227+00:00, confidence not recorded.
  - readme: https://github.com/mkaz/termgraph (fetched 2026-08-28T04:07:54.017856+00:00, sha 5dfe3945e849)
  - registry_pypi: https://pypi.org/pypi/termgraph/json (fetched 2026-08-29T09:35:44.687224+00:00, sha d3a2d54be1c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
