求大神帮忙解答
Cannot read property 'ordinal' of undefined
以下是我的源码
var scale_x = d3.scale.ordinal()
.domain(data.map(function(d) {return d.population;}))
.rangeBands([0,width],0.1);
改成d3.scaleOrdinal()也不行
Cannot read property 'ordinal' of undefined
以下是我的源码
var scale_x = d3.scale.ordinal()
.domain(data.map(function(d) {return d.population;}))
.rangeBands([0,width],0.1);
改成d3.scaleOrdinal()也不行
2017-01-13
举报