Skip to Content
Author's profile photo Michael Howles

SAP Lumira Visualization Extension – Scatter Matrix

Coming directly off my making SAP Lumira Visualization Extension – Hexagonal Binning, I wanted to try porting over another D3 Example by Mike Bostock that I’ve always liked.


(Scatterplot Matrix Brushing and http://mbostock.github.io/d3/talk/20111116/iris-splom.html)

/wp-content/uploads/2015/08/scattermatrix1_765613.png


I liked this visualization, because it seemed to me that you could add any amount of additional measures and the visualization could technically just add additional rows and columns to the matrix.  The brush/lassoing is a nice effect to highlight where in the correlation the data points fall in other correlations.  I didn’t really like the diagonal intersection of cells personally, but I can see how perhaps one could get a sense of which category occurs where, almost like a spectrometer in some ways…


So anyway – I set off on porting this one over to support any number of Measures, and making the first Dimension that you pull in dictate the plot color.  Below are a few sample screenshots:



/wp-content/uploads/2015/08/scattermatrix2_765624.png

3 Measures

/wp-content/uploads/2015/08/scattermatrix3_765625.png

5 Measures


/wp-content/uploads/2015/08/scattermatrix4_765632.png

7 Measures (My computer fan started going crazy here so this I think is overkill 🙂 )

If you draw your attention to the diagonal items, I’ve replaced those with histograms based on another D3 example here: Histogram

Overall, I think this visualization is a helpful data profiling and data discovery tool to identify correlations to then do something else with.

Feedback is welcomed.  You can view the source and download the .ZIP bundle here (which includes more goodies):

entmike/lumira · GitHub*

Enjoy!

 

*PS: This repository has a ZIP file in the root that you can simply install and the repository itself is one big Eclipse project as I developed this largely without WebIDE or VizPacker after getting some template code, but I’ll save those gory details for another blog post.  Also I’m interested in contributing to SAP/lumira-extension-viz · GitHub after cleaning up a few pieces, but I’m not sure who to reach out to to proceed yet.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      How are you getting around the 10K data points limit on scatterplots?  Or is that a configuration limit I'm not aware of how to change yet?  Also, how do I go about installing into Lumira?  (Sorry, Lumira n00b here).

      Author's profile photo Michael Howles
      Michael Howles
      Blog Post Author

      Hey Jay,

      I never exceeded 10k data points.  The final example was approximately 9.6k though.

      Author's profile photo Former Member
      Former Member

      Gotcha.  Just wanted to check - I thought it was another n00b thing I was missing.

      Author's profile photo Michael Howles
      Michael Howles
      Blog Post Author

      If you want though, you could change SAPLumira.ini file with this line:

      -Dhilo.maxvizdatasetsize=[your new limit here]