Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Stonks | 525 | 4 months ago | 3 | March 28, 2022 | 3 | gpl-3.0 | Go | |||
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal. See how fast your stonks will crash. | ||||||||||
Datadash | 169 | 7 months ago | 5 | mit | Go | |||||
Visualize and graph data in the terminal | ||||||||||
Netext | 35 | 5 days ago | 16 | mit | Python | |||||
Netext is a graph (network) rendering library for the terminal. |
A data visualization tool for the terminal.
Input streaming or tabular data inside the terminal via pipe or file, and an interactive graph will be generated.
datadash currently supports following chart types:
This will continue scrolling to the right, displaying the most recent data first and removing the older data to the left.
seq 4000 | awk 'BEGIN{OFS="\t"; print "x"}{x=$1/10; print cos(x) system("sleep 0.01")}' | ./datadash --label-mode time --scroll
seq 4000 | awk 'BEGIN{OFS="\t"; print "x","sin(x)"}{x=$1/10; print x,sin(x); system("sleep 0.02")}' | ./datadash --label-mode time
seq 4000 | awk 'BEGIN{OFS="\t"; print "x","sin(x)","cos(x)", "rand(x)", "rand(x)", "rand(x)"}{x=$1/10; print x,sin(x),cos(x),rand(x),rand(x),rand(x); system("sleep 0.02")}' | ./datadash -a
go get -u github.com/keithknott26/datadash
go build cmd/datadash.go
./datadash tools/sampledata/5col-errors
datadash can accept tabular data like CSV, TSV, or you can use a custom delimiter with the -d option. The default delimiter is tab.
Input data from stdin or file.
$ cat data.txt | datadash
$ datadash data.txt
Below are examples of the accepted data structure. More examples can be found under /tools/sampledata
50
60
70
time\tRowLabel1\tRowLabel2
00:00\t50\t100
00:01\t60\t90
00:02\t70\t80
00:08\t80\t70
23:50\t10\t10
$ usage: datadash [<flags>] [<input file>]
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--debug Enable Debug Mode
-d, --delimiter="\t" Record Delimiter:
-m, --label-mode="first" X-Axis Labels: 'first' (use the first record in the column) or 'time' (use the current time)
-s, --scroll Whether or not to scroll chart data
-a, --average-line Enables the line representing the average of values
-z, --average-seek=500 The number of values to consider when displaying the average line: (50,100,500...)
-r, --redraw-interval=10ms The interval at which objects on the screen are redrawn: (100ms,250ms,1s,5s..)
-l, --seek-interval=20ms The interval at which records (lines) are read from the datasource: (100ms,250ms,1s,5s..)
Args:
[<input file>] A file containing a label header, and data in columns separated by a delimiter 'd'. Data piped from Stdin uses the same format
MIT