在D3 v3 版是 d3.scale.linear() ,在v4 版是 d3.scaleLinear(). var scale = d3.scaleLinear().domain([100, 500]).range([10, 350]); scale(100); ...
確定! 回上一頁