Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Correlation-matrix Abalone 1 no tooltip

Public visualization

Viewing a saved revision (read-only)

247b5076dde84c28bceaf9229f049bd5

Fork of Correlation-matrix Abalone 1 no tooltip

0 stars0🌍 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 //