So fügen Sie D3.Js in Angular hinzu

//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';
Thoughtless Tarsier