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.
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:
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):
*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.