how to add d3.js in angular
//first step
npm install d3
//second step.....add this in component.ts
import * as d3 from 'd3';
import * as d3Scale from 'd3';
import * as d3Shape from 'd3';
import * as d3Array from 'd3';
import * as d3Axis from 'd3';