I'm planning a D3.js application that will display a network graph (i.e. display nodes and edges--not a line plot or barchart, etc.). Only some nodes and edges need to be displayed at any given moment, and the attributes of nodes and edges will change, too--all in response to user interaction. So far, so good--I know that d3.js can do this sort of thing, as illustrated by the force-collapsible example and the health and wealth of nations example.
I'm worried that if my application loads all of the data needed for all parts of the network at any time, I'll overwhelm the user's system. A typical network will have 35000 nodes, with attributes that vary at up to 5000 timesteps.
Is there a way to request only part of a JSON or XML object, i.e. only those parts of the tree that I need a given time? Or will I have to do something more complicated? Any pointers to options to investigate will be appreciated.
(This might be FAQ, but it's one of those things that's difficult to search on.)
No comments:
Post a Comment