viscompass v0.7.1
(Vis)Compass: Visualization Recommender.
(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.
Development Guide
Dependencies
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-lite
bower link
npm linkIn the directory for compass, run
# optional: npm link datalib
npm link vega-lite
bower link vega-liteCompiling
You can run npm run build to compile Vega-Lite.
You can npm run watch to start a watcher task that automatically re-compiles and tests Compass when any .js file in test/ or src/ changes.
Note: These commands use Gulp internally; Therefore, you need to install gulp globally with
npm install -g gulpto make them work.