Visualizing Data in Java [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 months ago.
Improve this question
Is there a good library on the web to visualize big data in Java? Perhaps a library for statistical outputs? I know the programming language R is used to visualize statistical data in R, and I have seen a solution to connect Java and R, but it would be better if I can have a pure Java solution.

might want to check out http://processing.org/

I've had success with visualizing graphs with a commercial tool called yFiles. For more general purpose statistical data visualization, you could try Mondrian, which is GPL licensed. These both are Java libraries.

Have to mention Piccolo2D -- using it very frequently. It does not provide the ready to use data structures as Prefuse does, but it surely scales and provides a great degree of freedom in how one would want to visualise the data.

JFreeChart is a good Option. I have tried it, and is easy to set up with Eclipse too. BIRT is also nice, but if you are using it for reporting that is.

Prefuse is a pretty nice library for Java, and even lets you publish animations in Flash using a layer called Flare:
prefuse visualization toolkit
prefuse visualization gallery
On the R side, you only need to browse the gallery to see what it's capable of:
R Graphics Gallery

There's a library for Clojure (not quite Java but still on the JVM) called Incanter.
It is built on Colt and JFreeChart. It may be possible that you can just use Colt directly, but I wouldn't know.

The Weka project might be able to help you. It's an open source library of data mining algorithms written in Java. If they don't have the visualization themselves, it might be in their "related projects" section.
http://www.cs.waikato.ac.nz/ml/weka/

Related

Alternatives to Java applets [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm planning to write a simple program that displays course prerequisites for students at my university in graph form (ie as a network of vertices and edges). I'd like to embed the program in a webpage to save people the hassle of downloading an executable.
Currently I'm looking at making my program a Java applet (Java also would give me access to the handy Swing library), but I don't like the fact that applets can't be viewed on most mobile devices.
What alternatives to applets exist for a project like this? I'd like to make it compatible with as many devices as possible, and also not have to build the graphics stuff from scratch.
One final consideration is I'm doing this mostly as a learning exercise. Ideally the tools I'd be working with would be helpful to know in the future.
Please don't use applets. They have been sufficiently deprecated.
The best way to do this is by using html/js/css. A lot of useful libraries exist that can help you with this task. jQuery seems obvious, but there's also d3.js or vis.js for displaying visual representations of data, and bootstrap for responsiveness (mobile friendliness).
You may use Angularjs with angular-chart for Showing graph in Web Browser.
If your graph data is dynamic you might use Nodejs and mongoDB for backend.
angular-chart is responsive and its easy to show dynamic graph. But as it uses HTML5 canvas some mobile browsers might not show its transitions smoothly depending on the device.
I personally do not prefer using applet in web browser when the same functionality can be achieved using great frameworks like Angularjs.
why dont you try to build your project through Servlet framework
by the way cgi were removed by servlet because of the handling of the request
applet uses the same concept

Java API for Auto regression (AR), ARIMA, Time Series Analysis [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for either Opensource or Free Java API for Time Series Analysis using AR, ARIMA etc. I need this api for DDOS Attack analysis.
I googled around and found 2 solutions but both are not completely solving the problem:
1) This same question was asked earlier in stackoverflow and a solution was posted regarding SuanSu Api but this API is not free
2) Apache Math Library, but this API provides other forms of Regression like Simple, OLS, GLS etc but not Auto Regression.
I checked for Options in Machine Learning apis like Mahout but not luck yet. Please suggest an appropiate API
I spent my 4th year Computing project on implementing time series forecasting for Java heap usage prediction using ARIMA, Holt Winters etc, so I might be in a good position to advise you on this.
Your best option by far is using the R language, you can call on the forecasting libraries provided by R, through Java by using the JRI library found here. R is well documented, free and open source. You can even run R on a server and then make calls to it via command line using Rserve, which then returns forecasts over HTTP but JRI is the local equivalent if memory serves me correctly.
If you have any questions, let me know.
Have a look at spark-timeseries. The source code is mostly Scala, but it's relatively simple to use the library from within Java. If you're in a place where you are doing time series analysis on the JVM, then you should consider learning Spark/Scala anyways.
The library is young as of this writing and has room for improvement and growth, but as of version 0.3 it implements AR, ARIMA, simple exponential smoothing (EWMA), and Holt-Winters smoothing. It's areas for improvement are a better automatic ARIMA algorithm, support for seasonal ARIMA, and state space modeling, but it's already very useful.

Circuit Diagram visualization framework for Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for a framework to visualize Circuit Diagrams in Java application.
I have to show Diagrams like that:
For one of my previous projects (in 2008 year) I used Jung. It worked well, but maybe somebody could propose more suitable for my needs framework? Does anyone have a similar task or know a good tools?
Also one of my tasks is to try to layout elements, because there is only info about connections in DB, but there is no layout information. I want to try to minimize manual layout work and looking for layout algorithms.
Thank you in advance.
PS: It is very desirable that the framework will be free.
PPS: Also I am interested in frameworks which can help to show (and edit) such type of diagrams using web browser.
Prefuse is very similar to Jung. I haven't used it extensively but I evaluated both Jung and Prefuse for our graph application.
Another web based option is Protovis which I came across during my evaluation. You can draw interactive graphs with it but I suspect you might need layout information already available to use this tool. Anyway looks like the authors are moving to a new library named D3 so you can check that out.
Another option I see is graphviz.
Here is a big list of graph visualization tools. http://www.mkbergman.com/414/large-scale-rdf-graph-visualization-tools/
I found a java framework named circuit. I think it could help you fix your issue.
http://code.google.com/p/circuit-framework/

Java graph library for dynamic visualisation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am in need of Java library for graphs that supports dynamic visualization. I need to have objects moving between the vertices and this has to be shown. 3D is not needed, a 2D representation will suffice.
I am currently using JUNG but it is very limited, it is more for static graphs from what I can tell.
I have looked at this question but JGraphT doesn't seem to do it either.
Late Edit:
I waited to finish the project before awarding an answer. I ended up keeping JUNG, while also using UBIGraph (dead project since 2012) as a secondary library.
Take a look:
GEF - GUI components for graphical editing, including graphs, (Eclipse) SWT based
JGraphX - former JGraph, not actively developed since March 2020
Piccolo2D - (Eclipse) SWT based
JUNG - last released in 2010 (as of 2020); was very popular back then
yWorks - not open source, not free
JGraphT - data handling and algorithms only, no integrated visualizaiton, though supports JGraphX visualization
Take a look at GraphStream, as shown from their demo video you can do some fancy stuff with graphs using their library.
Prefuse is pretty and powerful. The website is no longer there so here is an archived version
Have you had a look at Processing, or Processing.js? There are some amazing vis projects being made with this.
Not strictly Java, but easy to integrate within a Java environment, if I recall correctly.
Another option if feasible is to construct text file in graphviz dot format and process it using various tools provided. Mostly helpful for generate static images
See graphviz gallery for more details
You may also want to have a look at wilmascope (or its project page). I used it a few years ago after full research and was quite happy with it, but it has not been updated since 2004 (as of 2020).

Examples of Object-Oriented Projects Help Procedural Programmers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Please help me identify some small to medium sized open source projects that embody object oriented design (preferably in C++ or Java). I would like to use these projects to demonstrate how real world problems (as opposed to contrived text book examples) can be solved with an object oriented design. I want to be able to present a plausible explanation of why certain things were chosen to be objects and how they all work together to solve a problem.
Google Chromium (C++): windows, tabs, plugins etc. are all classes.
The Unreal Tournament Public Source Code (432 Headers) contains the declarations of the Unreal engine class library written in C++. I found it to be a rich example of a large object-oriented program. It taught me a lot about how to modularize and object-orient my code. It also demonstrates many tactics for getting a handle on a large code base.
Also, because all you can read are header files, you'll have a fun (and educational) time trying to figure out how the whole thing comes together. (I actually ended up writing my own x86 disassembler so I could cheat and read some of the definitions!)
On the same note, the Doom 3 SDK contains a large chunk of the Doom/Quake engine written in very readable C++.
Just about any large project designed in Java is object-oriented, almost by definition. You can take a look at Apache Hadoop as a large-scale, open-source, objected oriented project written in Java. Another is Apache Ant.
Eclipse would be a good example on the Java side: the plugin architecture is all object oriented.
I asked the same thing to my OO mentor. He pointed me to the JUnit sources, with the recommendation to see how it evolved version by version. This would show you how Kent Beck writes Java code.
Another example on this vein would be the sources of Fit by Ward Cunningham.

Categories