d3.json("filename.json", function(json) { root = json; root.x0 = h/2; root.y0 = 0;}); . . . } 我的代碼基本上是如果你在瀏覽器中運行一樣在這個d3.js example.
確定! 回上一頁