create svg element var svg = d3.select("#res") .append("svg") ... set the dimensions and margins of the graph var margin = {top: 20, right: 20, bottom: 40, ...
確定! 回上一頁