How to Install d3-selection NPM Packages on Ubuntu / Debian

How to Install d3-selection software package in NPM Packages

d3-selection : Data-driven DOM manipulation: select elements and join them to data.. You can installing d3-selection 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-selection
$ sudo npm install -g d3-selection

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

$ sudo npm update d3-selection

Update package globally,

$ npm install -g d3-selection

Git clone:

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

d3-selection@1.2.0 /usr/lib/node_modules/d3-selection

How to remove d3-selection package :

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

$ sudo npm uninstall d3-selection

Basic Information of d3-selection NPM Package:

Package Name d3-selection
Version 1.2.0
Description Data-driven DOM manipulation: select elements and join them to data.
Released Date 2017-11-21T21:44:23.004Z
Published by mbostock
How to Learn https://www.npmjs.com/package/d3-selection/tutorial