I'd like to know if there is somewhere a tiny stat/discretization js library ready to use?
Actually I know the existence of jStat (which I may explore a little bit more), and I know mapfish has a geostats module/widget to create choropleth map - I found code here. But it relies on openlayers and I'd like to have a standalone lib and eventually be free to comunicate with openlayers.
Actually, I'd like to have few basics methods :
- min
- max
- mean
- median
and be able to implement the following discretization with the ability to specify the number of classes and the precision (decimal) :
- Quantile
- Equal Interval
- Natural Breaks (Jenks)
If it does not exist yet, I will probably code something by myself and release it on github under free licence. Any resource and advice is most welcome.


