load text data dynamically into the nodes

54 views
Skip to first unread message

maddy

unread,
Nov 5, 2008, 3:09:43 PM11/5/08
to JavaScript Information Visualization Toolkit
Hi,
I went through the data structure for the hypertree and wish to
know who to dynamically load data from local text file.

Any suggestion is welcomed.

Cheers,

Nico Garcia Belmonte

unread,
Nov 5, 2008, 3:15:42 PM11/5/08
to javascript-information...@googlegroups.com
Hi,
That should be done server side. You should host a service that
returns some JSON when called, and perform an ajax call to that
service in order to retrieve the JSON data.
That service can be implemented in many ways,

I recently did an example with Python as server side language, and
Django as web framework, though you can any other language.
The example with python can be seen here:
http://blog.thejit.org/2008/11/02/visualizing-linux-module-dependencies/

Notice also that you can access the documentation by going here:
http://blog.thejit.org/javascript-information-visualization-toolkit-jit/#documentation

Hope it helps, bye!

--
I would never die for my beliefs because I might be wrong.

Bertrand Russell

Reply all
Reply to author
Forward
0 new messages