@tremorvideo/kitkat
v6.2.0
Published
Charting tool built on top of d3 and nvd3.
Downloads
156
Readme
Component Kitkat
Kitkat component handles the rendering of extensible graph components, including:
Building Kitkat
To install node modules:
npm install
To build the component (run browserify and uglify):
npm run build
Testing Kitkat
To run both style check and unit test:
npm test
Publishing Kitkat
To publish kitkat as a npm package:
Login to npm (Get credentials from Pey Lun or Yit Chun)
npm login
Publish the package
npm publish
NVD3
NVD3 is a reusable charting written in D3.js, inspired by the work of Mike Bostock's Towards Reusable Charts.
Kitkat component adopts NVD3's code structure, and consumes the following NVD3 models for added functionalities & features:
- axis.js
- multiBar.js -> vertical-base.js
- multiBarChart.js -> vertical.js
- multiBarHorizontal.js -> horizontal-base.js
- multiBarHorizontalChart.js -> horizontal.js
- scatter.js -> scatter-base.js
- line.js -> line-base.js
- lineChart.js -> line.js
- pie.js -> pie-base.js
- pieChart.js -> pie.js
References:
D3
D3.js is a JavaScript library for manipulating documents based on data, combining powerful visualization components and a data-driven approach to DOM manipulation. References: