Hi, im working on a project to visualize datasets with higher dimensions, essentially I would like to load a dataset like Iris, and display a 2D scatter plot matrix of of the data, out put is a matix of charts similar to this picture
any help/ideas is appreciated, Thanks!
Creating 2D Scatter Plot Matrix
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: Creating 2D Scatter Plot Matrix
Add your individual scatter-plot ChartPanels to a panel having GridLayout, as shown in the example cited here. The same article shows several ways to control the size of the individual panels. An otherwise undecorated ChartPanel having the same preferred width and height will appear square. Use a centered JLabel for the figures along the trace.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Creating 2D Scatter Plot Matrix
I quite like this grid approach and it would be nice to improve the support for it in JFreeChart (and JSFreeChart).
Another good approach for these datasets is Orson Charts (effectively JFreeChart3D but...not free). The Iris datasets are included in the demo application...here is a screenshot, but you really need to run it locally and rotate the charts to appreciate the extra "dimension":
Another good approach for these datasets is Orson Charts (effectively JFreeChart3D but...not free). The Iris datasets are included in the demo application...here is a screenshot, but you really need to run it locally and rotate the charts to appreciate the extra "dimension":
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program