0

I am using d3 for charting some nodes and links between them. For bringing the data, I used a json name link.json and called it like-

d3.json("linked.json", function(error, graph) {} 

It works properly.But the data of that json is not dynamic. To make it dynamic I must call a servlet in the place of calling the json.I can't do this.. please anyone help me....

4

1 回答 1

1

URL 是一个 URL。只需替换linked.json为您要调用的 servlet 的 URL(确保 servlet 返回格式适当的 JSON 响应)。

于 2013-04-09T06:45:49.510 回答