Heatmap of correlation matrix


I am trying to build the correlation matrix just like the one in the link done using d3js- http://john-ensley.com/blog/2017/03/interactive-correlation-matrix-with-d3/

Is there a similar implementation available on plotly. Can it be done using plotly or do I need to stick to d3js?

Thanks in advance.

We don’t have a dedicated trace type for correlation matrices, but it shouldn’t be too hard to do with a plain scatter trace and listening to plotly_click. Here’s something to help get started: https://codepen.io/etpinard/pen/QBNNPm?editors=1010

1 Like