Fork me on GitHub
Datalib is a JavaScript data utility library. It provides facilities for data loading, type inference, common statistics, and string templates. This includes:
While created to power Vega and related projects, datalib is a standalone library useful for data-driven JavaScript applications on both the client (web browser) and server (e.g., node.js). For use in node.js, simply npm install datalib or include datalib as a dependency in your package.json file. For use on the client, import datalib.min.js within your web page or install it via Bower (bower install datalib).
For more, see the GitHub repo. For documentation, see the API Reference.
To start playing with datalib, open the JavaScript console on this page...