None
Go to file
2013-08-08 09:54:45 -04:00
deprecated all models updated to run examples using d3.v3 2013-04-16 15:54:46 -07:00
examples Fixing issue in legend.js I found while investigating 2013-08-07 22:02:03 -04:00
lib added colorbrewer.js to lib 2013-06-18 18:34:29 -04:00
src For PR #209, adding test pieChart to pieChartTest.html. 2013-08-07 22:58:35 -04:00
test For PR #209, adding test pieChart to pieChartTest.html. 2013-08-07 22:58:35 -04:00
.gitignore add grunt, see more in README.md about how to use intstall and use grunt 2013-04-24 21:14:11 +08:00
.jshintrc add grunt, see more in README.md about how to use intstall and use grunt 2013-04-24 21:14:11 +08:00
build.bat Getting stuff ready to be cleaned, moving stuff that will be deleted into the deprecated folder 2012-06-16 07:02:45 -04:00
GruntFile.js add grunt, see more in README.md about how to use intstall and use grunt 2013-04-24 21:14:11 +08:00
LICENSE.md Changing License to Apache v2 2012-05-23 15:58:25 -04:00
Makefile Added test page for lineChart. Continued work on making the interactive line layer. 2013-07-03 13:43:32 -04:00
nv.d3.js Rebuilding nv.d3.js 2013-08-08 09:54:45 -04:00
nv.d3.min.js Rebuilding nv.d3.js 2013-08-08 09:54:45 -04:00
package.json add grunt, see more in README.md about how to use intstall and use grunt 2013-04-24 21:14:11 +08:00
README.md Updating README.md to unoffically add Opera 15 to list of supported browsers. 2013-08-05 23:17:24 -04:00

Please see Novus' official statement on nvd3 with an explanation, apology, and commitment to its permanent status as an open-source project. http://nvd3.org/statement.html

nvd3 - v1.0.0-beta

A reusable chart library for d3.JS.

NVD3 may change from its current state, but will always try to follow the style of d3.js.

You can also check out the examples page


Current development focus

  • Error bars in bar charts
  • Unifying common API functions between charts
  • Bug fixes all around

Installation Instructions

d3.v3.js is a dependency of nv.d3.js. Be sure to include in in your project, then:
Add a script tag to include nv.d3.js OR nv.d3.min.js in your project.
Also add a link to the nv.d3.css file.

See wiki -> Documentation for more detail


If one of the existing models doesn't meet your needs, fork the project, implement the model and an example using it, send us a pull request, for consideration for inclusion in the project.

We cannot honor all pull requests, but we will review all of them.

Please do not aggregate pull requests. Aggregated pull requests are actually more difficult to review.

We are currently changing our branch structure so that master will be gauranteed stable. In addition, there is now a "development" branch. This branch reflects the latest changes to nvd3 and is not necessarily stable.


Minifying your fork:

The Makefile requires UglifyJS.

The easiest way to install is to install via npm. Run npm install uglify-js from your home directory, then add the output from npm bin into your path so that you have access to uglifyjs from the command line (remember to restart your terminal window when adding to the path.)

Once you have uglifyjs command available, running make from your fork's root directory will rebuild both nv.d3.js and nv.d3.min.js.

Without UglifyJS, you won't get the minified version when running make.

use grunt

You can use grunt insteadof makefile to build js file. See more about grunt. Nodejs must be installed before you can use grunt. Run npm install in root dir to install grunt and it's dependencies.

Then, you can use these commands:

grunt # build nv.d3.js
grunt production # build nv.d3.js and nv.d3.min.js
grunt watch # watch file changes in src/, and rebuild nv.d3.js, it's very helpful when delevop nvd3
grunt lint # run jshint on src/**/*.js

**We ask that you DO NOT minify pull requests... If you need to minify please build pull request in separate branch, and merge and minify in your master.

Supported Browsers

  • Chrome latest version (preferred)
  • Firefox latest version
  • Safari latest version
  • Internet Explorer 9 and 10
  • (unofficially) Opera 15+.