Black Lives Matter. Please consider donating to Black Girls Code today.

Heatmap of correlation matrix


I am trying to build the correlation matrix just like the one in the link done using d3js-

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:

1 Like