Free java data visualization library?

JavaVisualization

Java 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?

enter image description here

enter image description here

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:

enter image description here

enter image description here

enter image description here

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

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRoflcoptrExceptionView Question on Stackoverflow
Solution 1 - JavaMark MayoView Answer on Stackoverflow
Solution 2 - JavaCostis AivalisView Answer on Stackoverflow
Solution 3 - JavaAdel BoutrosView Answer on Stackoverflow
Solution 4 - JavarfmodulatorView Answer on Stackoverflow
Solution 5 - JavaSuminda Sirinath S. DharmasenaView Answer on Stackoverflow
Solution 6 - JavabchettyView Answer on Stackoverflow
Solution 7 - JavantanaseView Answer on Stackoverflow
Solution 8 - JavaZack MacomberView Answer on Stackoverflow
Solution 9 - JavamoeyView Answer on Stackoverflow
Solution 10 - JavaFarshid ZakerView Answer on Stackoverflow
Solution 11 - JavaHRgigerView Answer on Stackoverflow