scalePoint ().domain(data.map(d => d.y)).range([0, height]); //draw graph and data points const selection = d3.event.selection.map(xScale.invert);.
確定! 回上一頁