Scientific and statistical computing in JavaScript.


Science.js is a JavaScript library for scientific and statistical computing.

Currently, there are two modules:

  • science.stats, containing various implementations of statistical methods similar to those provided by R;
  • science.lin, for linear algebra.

To help develop Science.js, you need to have Node.js and NPM installed. Once you have done that, run the following from the root directory of this repository to install the development dependencies:

make install

I originally started this in order to add a reusable statistics module to D3.js, but now it's grown into a whole new project of its own!

The project structure and Makefile is based on that of D3, so a big thank you goes to Mike Bostock for this.