Skip to content
A framework for creating reusable charts with d3.js.
Branch: master
Clone or download
Latest commit a7dca26 Jan 24, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Formalize exported value and test CommonJS support Jan 23, 2016
examples
src
test Formalize exported value and test CommonJS support Jan 23, 2016
.gitignore
.jscsrc Incorporate automated code style validation Jun 18, 2015
.jshintrc
.travis.yml Merge tag 'v0.2.1' Jun 24, 2014
AUTHORS.txt Update project authors May 27, 2013
Gruntfile.js
LICENSE-MIT
bower.json Remove deprecated property from package config. Jan 23, 2016
changelog.md Release v0.3.0 Jan 23, 2016
d3.chart.js
d3.chart.min.js
d3.chart.min.map Release v0.3.0 Jan 23, 2016
migrating.md
package.json
readme.md Improve "usage" documentation Jan 23, 2016

readme.md

d3.chart

A framework for creating reusable charts with D3.js.

Build Status

To get started you can:

  • Read about reusability in d3 here
  • Read our introduction post to d3.chart here
  • Dive right into the wiki, which is full of instructions and guides.
  • Check out the Miso Project website which has some live coding examples

Installing

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.

Using

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 <script> 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 paths configuration.

  • Consuming using CommonJS modules (e.g. via tools like Browserify) should "just work"

Build Instructions

Build requirements:

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:

$ grunt
You can’t perform that action at this time.