vegas-viz / Vegas

The missing MatPlotLib for Scala + Spark
MIT License
730 stars 98 forks source link

Scatter matrix or something comparable available? #82

Open juliankeppel opened 8 years ago

juliankeppel commented 8 years ago

I'm checking out Vegas at the moment for visualizing Spark mllib models. For example I want to visualize a kmeans clustering model with more than two dimensions/features.

Something like a scatter matrix (or at least a 3-dimensional scatter plot) would be perfect... are there any plans for this? Or am I missing something how to plot such mllib models properly with Vegas? The only way I found is to plot multiple 2-dimensional plots with the different feature combinations... but this is way too laborious for my purposes.

Example scatter matrix for multple dimensions: http://www.statmethods.net/graphs/images/spmatrix1.jpg

Thank you!

aishfenton commented 8 years ago

Interesting one. Yeah I can't find an easy way to express this yet either. Problem is that the Trellis stuff we have (encodeRow, encodeColumn) subsets the data as well. I see in some upcoming work in vega-lite (which does the actual rendering) they have better support for faceting based on arbitrary rules, so maybe in cards for the future.