D3 的xhr模块可以简单的加载和解析数据。 ... var data; // a global d3.json("path/to/file.json", function(error, json) { if ... An example using JSON encoding:
確定! 回上一頁