I would like to know if a tiny stat/discretization js library ready to use exists.
I do know about the existence of jStat (which I may explore a little bit more thoroughly), and I know that mapfish has a geostats module/widget to create choropleth map - I found the code here. But it relies on openlayers and I would like to have a standalone lib and eventually be free to communicate with openlayers.
I would like to have few basics methods:
and be able to implement the following discretization with the ability to specify the number of classes and the precision (decimal):
- Equal Interval
- Natural Breaks (Jenks)
If it does not exist yet, I will probably code something myself and release it on github under free license. Any resource and advice is welcome.