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.
npm install line-graph -gline-graph < data.csv > graph.png --title "Graph o'Data"
var graph = require'line-graph'var Table = require'dat-table'var canvas = documentcreateElement'canvas'var ctx = canvasgetContext'2d'graphctx TablecreateTableTABLE_OF_DATA_WITH_HEADERS optsdocumentbodyappendChildcanvas
If your data has headers and units how dat-table likes it, you should get a pretty good graph the first time.