invenio-charts-js

[![Release](https://img.shields.io/github/tag/inveniosoftware/invenio-charts-js.svg)](https://github.com/inveniosoftware/invenio-charts-js/releases) [![LICENSE](https://img.shields.io/github/license/inveniosoftware/invenio-charts-js.svg)](https://github.c

Usage no npm install needed!

<script type="module">
  import invenioChartsJs from 'https://cdn.skypack.dev/invenio-charts-js';
</script>

README

invenio-charts-js

Release LICENSE

Invenio-Statistics is a reusable client library for integrating charts into modern web apps. All charts are built with D3.js.

Installation

With npm installed, run:

$ npm i

Dependencies

Package Version
d3 4.10
d3-tip 0.71
d3-svg-legend 2.24
lodash 4.17

Demo

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.

Tests

$ npm test

Docs

Generate the docs

$ npm run docs

Open the docs page in your browser

$ firefox docs/index.html

Usage

Getting started guide

License

GNU GPLv2