const xDomain = data.map(item => item.label). const xRange = [0, graphWidth]. const x = d3.scalePoint() .domain(xDomain) .range(xRange).
確定! 回上一頁