Free java data visualization library?
JavaVisualizationJava Problem Overview
I'm looking for a free Java library to visualize some data. I want to do something similar as the following two images. Is there any possibility? I first thought of prefuse, but this isn't developed since 2007. So any oher libraries?
Java Solutions
Solution 1 - Java
Have you considered looking at GraphViz?
Graphviz (short for Graph Visualization Software) is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts. It also provides libraries for software applications to use the tools. Graphviz is free software licensed under the Eclipse Public License.
You can do some fairly cool stuff with it:
Solution 2 - Java
Try Protovis, which seems to be the successor of Prefuse and may be a good alternative option. It is written in JavaScript, but a Java Graphical Toolkit is available.
D3.js is the successor of Protovis today. (Recommended by Protovis.)
Solution 3 - Java
For the timeline part, you should really consider Google Visualization API which contains annoted timelines, ...
Solution 4 - Java
GraphStream is a possibility.
Solution 5 - Java
Check ou:
Further links can be found at:
Solution 6 - Java
An other alternative is to use JUNG framework. If you are looking for browser/Javascript based libraries as well, checkout three.js
Solution 7 - Java
Another library you could consider is JGraph. It works mainly with graphs but you can easily implement a timeline as a one. The project can be found on GitHub https://github.com/jgraph/jgraphx and was recently updated.
Solution 8 - Java
You'd have to no doubt do a lot of customization, but Google's Chart Tools offers a lot of flexibility and options (http://code.google.com/apis/chart/). I have not done anything as involved as the images that you pasted above, but it was fairly easy to set up various charts using the Google Visualization API.
It might be worth it to post your images on the Google Visualization API group (http://groups.google.com/group/google-visualization-api?pli=1) to see if anyone has done more involved charts like those you've proposed above using the Visualization API...
Solution 9 - Java
I am surprised this hasn't been listed. I used jFreeChart a while back: http://www.jfree.org/jfreechart/
Solution 10 - Java
If you are explicitly looking for a swing library, ignore this answer! But in the world of web, Raphaël and D3.js are my favorites. Back-end could be implemented in java.
Solution 11 - Java
If you dont mind to use javascript solution timeglider is what you need for the second screenshot.