Skip to main content
100%

Correlation_Matrix

✓ Published0🌍 Public
ZZeroKurosakii
Last edited Oct 9, 2023
Created on Oct 9, 2023
Forked from HTML Starter

This visualization displays a correlation matrix for the Abalone dataset, showing pairwise Pearson correlation coefficients between physical measurements and age. Across the main diagonal, variable names are labeled, while off-diagonal cells use either colored text or circles with varying radius and color intensity to represent correlation strength and direction. The matrix is filtered by selecting a categorical variable (Male, Female, or Infant) from a dropdown menu, which recomputes correlations for that subset. Built with D3 v7 in React, the code uses `d3.scaleLinear` for color encoding, `d3.scalePoint` for axes, and `d3.scaleSqrt` for circle sizing, rendering to SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes