Inspired by the work of Mike Bostock's Towards Reusable Charts, and supported by a combined effort of Novus and the NVD3 community.
nvd3 alternatives and similar libraries
Based on the "d3" category.
Alternatively, view nvd3 alternatives based on common mentions on social networks and blogs.
9.9 9.8 nvd3 VS echartsApache ECharts is a powerful, interactive charting and data visualization library for browser
8.9 9.4 nvd3 VS p5.jsp5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
8.4 5.8 nvd3 VS Frappe ChartsSimple, responsive, modern SVG Charts with zero dependencies
8.2 9.1 nvd3 VS G2📊 A highly interactive data-driven visualization grammar for statistical charts.
7.8 6.1 L3 nvd3 VS dc.jsMulti-Dimensional charting built to work natively with crossfilter rendered with d3.js
7.1 1.6 L5 nvd3 VS metrics-graphicsA library optimized for concise and principled data graphics and layouts.
4.8 0.5 nvd3 VS react-simple-mapsBeautiful React SVG maps with d3-geo and topojson using a declarative api.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of nvd3 or a related project?
NVD3 - A reusable D3 charting library
Simply add the
nv.d3 assets to your project and include them in your HTML.
<link href="nv.d3.min.css" rel="stylesheet"> <script src="nv.d3.min.js"></script>
nv.d3.jsshould appear after
- Prefer minified assets (
.min) for production.
Minimum D3 version required: 3.4.4
For a D3v4 Version, see the work in progress at the nvd3 organization
cornerRadius, the interactive guideline tooltip now requires these later versions of D3 (3.4.4+, specifically, to get interactive tooltips). The interactive guide lines rely on the more recent
d3.bisector() method which treats accessors taking two parameters (the second being the element index) as comparators (see d3.bisector()).
NVD3 runs best on WebKit based browsers.
- Google Chrome: latest version
- Opera 15+ (i.e. webkit version)
- Safari: latest version
- Firefox: latest version
- Internet Explorer: 10+
Do we support D3 v4.x?
No, we do not... we are very interested in taking this on but could use some help. Please let us know if you'd like to help make this a reality! :)
- Community bugfixes
- Community bugfixes
- New force-directed graph
- Community bugfixes including tooltip fixes.
- Lots of community bugfixes
- Added force-directed chart
- Lots of community bugfixes and a few extra minor features
- Tooltips were refactored - If you have customized your tooltips, note that you may need to adjust your custom functions as the data passed has changed format. See the new tooltip options for more details.
- Added boxplot charts | example
- Added candlestick charts | example
- Added extra donut chart abilities | examples
- Added sunburst Charts | example
- Time Series | example
- Another legend format available | example
- Lots of bug fixes (see closed issues)
- (for all examples, see here)
- Fixed axis.staggerLabels bug.
- Fixed Karma unit tests.
- Fixed chart test pages.
- Merged in nvd3-community changes and development branch.
- Fixes around 20 small bugs.
- Fixed the notorious slowness of line charts and scatter plots on chrome
- Combined the scatterChart and scatterChartWithLines models
- Combined the linePlusBarChart and linePlusBarChartWithFocus models.
- renamed some of the options (see the new documentation for what options are available for each chart)
- Completed the migration of the option functions to an object format which allows the generation of the documentation in an automated way. Not everything has a description yet, but check it out!
- Added extra options to the donut charts based on features that will be in d3 3.5. The donut example page loads the latest d3 from their 3.5 branch so keep that in mind.
- Added an example of the parallelCoordinates chart.
- Fixed up the half-done OHLC bar chart, and made an example for it as well.
- includes about a dozen bug fixes and pull requests I fixed and merged in from the issues/pulls from the original project.
- It also standardized all indention
Current development focus
- Review outstanding pull requests and issues.
- Try to find an easy way to actually document usage and all chart options.
- Improve the testing framework.
- Setup continuous integration.
Found a bug? Check out the latest from the
master branch and make sure it's not already fixed first! If you don't see a related fix, please open an issue.
Including Fastdom in your project can greatly increase the performance of the line chart (particularly in Firefox and Internet Explorer) by batching DOM read and write operations to avoid layout thrashing. NVD3 will take advantage of Fastdom if present.
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.
If you'd like to contribute consistently, show me what you've got with some good pull requests and you may get added to the nvd3-community org!
A few rules for pull requests
- Please commit to the
- Do NOT check in anything under the
builddirectory, it clutters up the commit and just gets overwritten later.
- All new features must come with unit test coverage
- Bug fixes should come with unit tests that prove their fix
If you want to test your changes using the example pages,
you'll have to run
grunt production to build the items into the
You must do this before your changes show up in the examples, as they link to the build directory
in order to properly show off the finished product.
Please remember to NOT include the build files in your commit though,
only include the source files you changed!
Tips for Testing
- Unit tests were written in Karma and Mocha. Follow instructions in Building Latest to get npm packages setup. This may not work on Windows machines.
bower installto get bower dependencies.
gruntto start the unit tests.
- Also visually inspect the HTML pages in the examples/ and test/ folders. Make sure there are no glaring errors.
- Novus now uses Travis CI for continuous integration. Visit our travis build page to see the latest status.
- Any Meteor-specific features can be tested from the command line using
spacejamcan be installed by running
npm install -g spacejam.
- Tinytests can then be executed by running
spacejam test-packages ./from this project's root.
- First clone the repository and checkout the
- make sure
nodejsis installed via your system's package manager.
npm install -g grunt grunt-cli bower
have node download nvd3's required modules with:
You should now have a
build directory with the js and css files within.