CorrespondenceAnalysis
Correspondence analysis implementation in javascript, works on server-side and client-side.
See a demo
What is Correspondance Analysis
See http://en.wikipedia.org/wiki/Correspondence_analysis.
Or for a more step by step tutorial, see http://www.micheloud.com/FXM/COR/E/index.htm
Installation
On nodejs/npm
npm install --save CorrespondenceAnalysis
Example
Using nodejs
var CA = ; var ca = ; carLegends = fsread"Ain" "Aisne" "Allier" "Alpes de Hautes Provence" "Hautes Alpes";cacLegends = "Jean" "Philippe" "Michel""Alain""Patrick"; var data = ca; ca;
Dependencies
sandjs, seedjs, sandcli, numericjs are used on both server-side and client-side.
For client-side, the demo run with google-visualization.
For server-side, it runs with "canvas" npm module, so you need to install specific tools, to do that, follow the Node-canvas Wiki
sudo apt-get install libgif-dev
Build
To build sources run
sand server
in the folder. And get http://localhost:8899/require?query=CorrespondenceAnalysis/CorrespondenceAnalysis