Tag: d3v4

如何解决TypeError:d3.time是不确定的?

我想用D3.jsparsing数据/时间 为此,我创build了一个JavaScript文件并使用var d3 = require('d3') 。 我使用npm install d3来npm install d3 ,并尝试npm install d3 –save其保存在package.json文件中: { "name": "school", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "browserify": "^13.1.0", "bufferutil": "^1.2.1", "d3": "^4.2.2", "express": "^4.14.0", "guid": "0.0.12", "gulp": "^3.9.1", "react": […]