very simple line-graph
I wanted a graph that I could install with npm and pipe a csv to, so I wrote one.
Works both in js in the browser, and via command line.
with electro, use this as a cli too.
npm install -g electron-prebuilt electro line-graph
pipe a csv file into line-graph:
line-graph < table.csv
an electron window will open and display the graph!
or, pipe the output to a png file:
line-graph < table.csv > table.png
var graph =var Table =var canvas = documentvar ctx = canvasdocumentbody
If your data has headers and units how dat-table likes it, you should get a pretty good graph the first time.