NVD3.js is a library of re-usable charts and chart components for D3.js.
NVD3 - A reusable d3 charting library
Inspired by the work of Mike Bostock's Towards Reusable Charts, and supported by a combined effort of Novus and the NVD3 community.
Usage
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 afterd3.jsis included.- Prefer minified assets (
.min) for production.
Dependencies
NVD3 should work with the latest d3.js version 3.5.3 and later.
Minimum D3 version required: 3.4.4
Along with pieChart options padAngle and 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()).
Supported Browsers
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+