This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
d3.chart with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A framework for creating reusable charts with D3.js.
To get started you can:
You can install d3.chart via bower by running:
$ bower install d3.chart
You can also install it via npm by running:
$ npm install d3.chart
Otherwise, you can download it directly from this repository.
d3.chart implements "UMD", making it convenient to consume from a number of environments:
The library may be loaded in a web browser directly via HTML
tags--just be sure to load it after D3.js, e.g.
<script src="scripts/lib/d3.v3.min.js"></script> <script src="scripts/lib/d3.chart.min.js"></script>
From AMD-enabled environments, simply
add an entry for "d3.chart" in your
To fetch required dependencies, run the following command from the root of this repository:
$ npm install $ bower install
After this, the project can be built by invoking Grunt from within this repository: