Skip to main content
100%

Fork of Correlation-matrix Abalone 1 no tooltip

✓ Published0🌍 Public
SSharon Lin
Last edited Sep 28, 2024
Created on Sep 28, 2024

Three side-by-side correlation matrices show how eight physical measurements of abalone—length, diameter, height, weights, shell weight, and rings—relate for male, female, and infant subgroups. Each matrix displays Pearson correlation coefficients for every pair of variables, encoded as rainbow-colored cells from -1 to 1. The visualization uses the `data2grid` library to arrange the cells and `d3.scaleSequential` with `d3.interpolateRainbow` for coloring, while `d3.scaleBand` positions the axes. The code filters the `data.csv` source by sex and renders separate SVG matrices for each category, with axis labels rotated for readability.

AI-generated description

Second Homework //

// http://vis.lab.djosix.com:2024/data/iris.csv == data.csv //

MIT Licensed

Similar vizzes