How to Install d3 NPM Packages on Ubuntu / Debian

How to Install d3 software package in NPM Packages

d3 : Data-Driven Documents. You can installing d3 npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install d3
$ sudo npm install -g d3

If want to update the d3 package execute the command as below,

$ sudo npm update d3

Update package globally,

$ npm install -g d3

Git clone:

$ sudo  git clone https://github.com/rektide/d3.git
$ sudo  npm install -g ./d3

d3@4.12.0 /usr/lib/node_modules/d3

How to remove d3 package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall d3

Basic Information of d3 NPM Package:

Package Name d3
Version 4.12.0
Description Data-Driven Documents
Released Date 2017-11-21T22:04:02.315Z
Published by mbostock
How to Learn https://www.npmjs.com/package/d3/tutorial