如何使用 npm 安装 d3 版本 3?

Bha*_*Spp 0 npm d3.js reactjs npm-install

错误截图谁能告诉我如何使用 npm line 安装第三版 d3 以在 reactJS 中使用它。我使用了 npm install d3@3.4.11 但发生了如图所示的错误。

K. *_*bol 7

用 安装npm i d3@3,它会自动匹配最新版本的 3.x。