1.2.1 • Published 5 years ago
mapd-crossfilter v1.2.1
MapD CrossFilter
JavaScript library for exploring large multivariate datasets in the browser. Based on CrossFilter
Table of Contents
Quick Start
A full build of mapd-crossfilter is available in the cloned/forked version of this repo. To build your own code changes, however, you can run
npm install
npm run buildSynopsis
Unlike the original Crossfilter, mapd-crossfilter makes asynchronous network requests to retrieve data. As part of this process, mapd-crossfilter forms SQL queries that are used to retrieved data which will then be rendered by mapd-charting.
Testing
New components in MapD-Crossfilter should be unit-tested. All tests should be in the test directory.
+-- src
| +-- /modules/binning.js
+-- test
| +-- /binning.unit.spec.jsAll tests run on
npm run testTo check only unit tests, run:
npm run test:unitScripts
| Command | Description |
|---|---|
npm run test | Runs unit tests and provides coverage info |
npm run test:unit | Runs unit tests |
npm run build | Bundles crossfilter |