已采纳回答 / qq_有妖气_2
<script src="https://d3js.org/d3.v4.min.js"></script>改成<script src="https://d3js.org/d3.v3.js"></script> 头部引用错了
2016-09-01
var scale_x = d3.scale.linear()
报错
Uncaught TypeError: Cannot read property 'linear' of undefined
报错
Uncaught TypeError: Cannot read property 'linear' of undefined
2016-08-24