Invenio-Statistics is a reusable client library for integrating charts into modern web apps. All charts are built with D3.js.
With npm installed, run:
$ npm i
Package | Version |
---|---|
d3 | 4.10 |
d3-tip | 0.71 |
d3-svg-legend | 2.24 |
lodash | 4.17 |
With npm installed, run:
$ npm run examples
$ cd examples
$ npm i
$ ./node_modules/http-server/bin/http-server ../
Then, navigate to http://localhost:8080/examples
to see the demo
.
$ npm test
Generate the docs
$ npm run docs
Open the docs page in your browser
$ firefox docs/index.html
Getting started guide