(Vis)Compass is a module for generating and ranking visualizations. Given user query, Compass produces ranked group of visualization described using Vega-Lite.
Compass is in active development. More information will be included soon.
This project depends on Vega-Lite as a formal model for visualization.
If you plan to make changes to these dependencies and observe the changes without publishing / copying compiled libraries all the time, use
bower link and 'npm link'.
cd path/to/vega-litebower linknpm link
In the directory for compass, run
# optional: npm link datalibnpm link vega-litebower link vega-lite
You can run
npm run build to compile Vega-Lite.
npm run watch to start a watcher task that automatically re-compiles and tests Compass when any
.js file in
Note: These commands use Gulp internally; Therefore, you need to install gulp globally with
npm install -g gulp
to make them work.