babbage.ui
The library provides a DSL, query frontend and visualisation functions running against the Babbage Analytical Engine API. The intent is to make a re-usable set of angular-based front-end components for business intelligence.
Usage
<babbage slicer="http://host.org/slicer" cube="sales">
<div class="row">
<div class="col-md-4">
<babbage-filter-panel></babbage-filter-panel>
</div>
<div class="col-md-8">
<babbage-table></babbage-table>
</div>
</div>
</babbage>
Or, with inline config:
<babbage slicer="http://host.org/slicer" cube="sales">
<babbage-treemap drilldown="region" measure="sales_usd" cut="time.year:2015">
</babbage-treemap>
</babbage>
Example
Clone the repository and open index.html
to see babbage
in action, no pre-config required.
Dev installation
- Dev tool installation with npm:
npm install
(seepackage.json
) - Web packaging with Bower:
bower install
(seebower.json
) - Build automation with Grunt:
grunt
without arguments runs thedefault
task (seeGruntfile.js
)