views:

348

answers:

2

Hello

I wonder if anyone is able to help or advise with the following; I have to be able to take data from a data source and to be able to visualise that data as a decision trees on a web page all. This will be a single process which is seamless to an end user.

This will be done using JSPs and Java servlets but what concerns me are the underlying products. I'm thinking of passing the data to a Weka classifier and then doing something with the .dot file it creates, i.e. maybe feeding it to GraphViz or trying to use the Google Visualization API to present an interactive display.

But, can anyone tell me if this is a viable approach or suggest alternatives?

Thanks

Martin O'Shea.

+1  A: 

I've had a lot of success creating data flow graphs with graphviz (I uploaded them with a script to a MoinMoin wiki and used the graphviz plugin). That plugin even allowed to have links in the graphs, so we could keep the individual graphs small.

Aaron Digulla
+1  A: 

For the UI we have added the JS stuff from http://www.mxgraph.com/ to display larger graphs to the user.

Your approach is viable however. GraphViz is a good tool.

LenW
I like GraphViz but its outputs are static; ideally I would prefer to have something where a user can collapse / expand nodes and click on a box to display the data at that node etc. I will look at MaxGraph though.
We used the orgchart - http://www.mxgraph.com/demo/mxgraph/orgchart.html
LenW
It looks good. But can you pre-construct the tree without the user changing it later?
yes you have full control over the tree - i suggest download and check out the examples
LenW