Dimensional charting built to work natively with crossfilter rendered using d3.js.
Tweets Dataset: Brushing on timeline and hovering on Pointmap datapoint which displays row information
Visit our examples page for ideas of what can be created with HEAVY.AI Charting
npm install #downloads all dependencies and devDependencies
npm run start
or
npm run watch
HEAVY.AI Charting is a superfast charting library that works natively with crossfilter that is based off dc.js. It is designed to work with HEAVY.AI Connector and HEAVY.AI Crossfilter to create charts instantly with our HeavyDB SQL Database. Please see examples for further understanding to quickly create interactive charts.
Our Tweetmap Demo was made only using HEAVY.AI Charting.
Visit our API Docs for additional information on HEAVY.AI Charting
New components in HEAVY.AI Charting should be unit-tested and linted. All tests will be in the same folder as the new component.
+-- src
| +-- /mixins/new-mixin-component.js
| +-- /mixins/new-mixin-component.unit.spec.js
The linter and all tests run on
npm run test
To check only unit-tests run:
npm run test:unit
Please lint all your code in @heavyai/charting/
. The lint config file can be found in .eslintrc.json
. For new components, please fix all lint warnings and errors.
Command | Description |
---|---|
npm run start |
Copies files for examples and then serves the example |
npm run build |
Runs webpack and builds js and css in /dist |
npm run docs |
Creates and opens docs |
npm run test |
Runs both linting and unit tests |
npm run clean |
Removes node modules, dist, docs, and example files |
The charting library uses documentation.js for API documentation. Docs can be built and viewed locally with the npm run docs
command.
Interested in contributing? We'd love for you to help! Check out Contributing.MD