create svg element var svg = d3.select("#res") .append("svg") ... is where the axis is placed: from 100 px to 800px .padding([0.8]) // Goes between 0 and 1.
確定! 回上一頁