0
$\begingroup$

I am looking for a JavaScript or a PHP library to calculate common business/statistical metrics (e.g. Total, Avg, YTD, YoY, MoM, CAGR growth, standard deviation, regression line coordinates) from simple arrays/objects with a structure such as:

enter image description here

The idea is that I would just provide the arrays with some basic parameters (e.g. time period I'm interested in) and would get all the numbers crunched automatically in return.

Can anybody point me to a library they've used and trust from experience?

$\endgroup$
0
$\begingroup$

I think You can use http://d3js.org/ or http://simplystatistics.org/tag/d3-js/ Or you can find another javascript library with stats methods

$\endgroup$

protected by kjetil b halvorsen Nov 22 '17 at 14:18

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.