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

| cite | improve this answer | |
$\endgroup$

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