Easy way to plot a time series of data?

Started by ergophobe, August 15, 2018, 10:56:37 PM

Previous topic - Next topic

ergophobe

Basically, I have a data source that has a data point every hour. Each data source has a single number each hour, and I would plot maybe 4-5 on a graph.

I've pulled CSV data in using PHP plenty of times, so parsing the CSV file is not an issue. But how about making a pretty graph out of it? Any suggestions?

ergophobe


jetboy

https://www.chartjs.org/

Lots of choice in JS libraries, but this one seems to pop up a lot.

ergophobe

Excellent. Thanks.

That looks easy:

Quotenpm install chart.js --save

No third-party server dependency. Nice