Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aybabtme/uniplot

Makes histograms and barcharts.
https://github.com/aybabtme/uniplot

Last synced: 19 days ago
JSON representation

Makes histograms and barcharts.

Awesome Lists containing this project

README

        

# Uniplot

A small collection of plot helpers. Make Unicode barcharts:

```
0 █ 1
1 ██▉ 3
2 ███▉ 4
3 █████▊ 6
4 ███████▋ 8
5 nil
6 nil
7 ██████████████▎ 15
8 █████████▋ 10
9 ██████▋ 7
10 ████▊ 5
11 ██▉ 3
12 ██ 2
13 █ 1
14 ▏ 0
15 ███████████████████▏ 20
```

...or histograms:

```
0.1-0.2 5% ▋1
0.2-0.3 25% ██▊5
0.3-0.4 0% ▏
0.4-0.5 5% ▋1
0.5-0.6 45% █████▏9
0.6-0.7 5% ▋1
0.7-0.8 0% ▏
0.8-0.9 5% ▋1
0.9-1 10% █▏2
```

... or realtime spark lines:

![example-sparklines](https://cloud.githubusercontent.com/assets/1189716/3317255/09998004-f70b-11e3-8aab-597bd848c467.gif)

If your console font is Monaco, one of the blocks look weird. Use Menlo. =)