I had installed d3Charts using npm install d3 && npm install @types/d3 --save-dev.
d3 version info in package.json
"dependencies": { &