Skip to main content

Draw bar graphs from CSV files in the terminal.

Project description


Draw bar charts from CSV files in the terminal.

Requires either version 2 or 3 of [Python] (, including `pip`.


Install with Pip: `pip install csvbar`.


Say you have a CSV file such as:

Limited Liability Partnership,100522.93
Friendly Society,111428.84
Registered Political Party,382227.01
Unincorporated Association,2846016.31
Trade Union,44483505.54

You can then:

$ csvbar data.csv

Trust ▌ 93,167.74 (0.15%)
Limited Liability Partnership ▌ 100,522.93 (0.16%)
Friendly Society ▌ 111,428.84 (0.18%)
Registered Political Party ▌ 382,227.01 (0.61%)
Unincorporated Association ███ 2,846,016.31 (4.54%)
Company ████ 3,696,180.22 (5.89%)
Individual ████████████ 11,021,726.04 (17.57%)
Trade Union ██████████████████████████████████████████████████ 44,483,505.54 (70.91%)

Total: 62,734,774.63

It also accepts data on STDIN, useful if you're using something like [CSV Kit] ( or [Q] (


There are similar tools:

* [data_hacks] (, by [Bitly] (
* [termgraph] (, by [Marcus Kazmierczak] (
* [spark] (, by [Zach Holman] (

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for csvbar, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size csvbar-1.4-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size csvbar-1.4.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page