📜  如何在 Angular 中添加 d3.js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:04.147000             🧑  作者: Mango

代码示例1
//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';