🌍 Public
Viewing a saved revision (read-only)
7c892d8c88764bf89dd8dccc0e83f9fe
correlation matrix
This visualization displays a correlation matrix of clinical indicators related to heart disease, using a diverging color scale to highlight positive and negative relationships. It shows the computed Pearson correlation coefficients between seven numeric variables, with values printed within each cell. Built with React and D3 v7, the code uses `scaleLinear` to map correlations to colors, calculates correlations manually, and renders the matrix as SVG rectangles with interactive hover highlighting.
AI-generated description