Skip to main content
100%

Fork of D3 Scatter Plot Matrix multiple colors

✓ Published0🌍 Public
FFarhaan Qazi
Last edited Mar 15, 2023
Created on Mar 15, 2023

This fork of a D3 scatter plot matrix compares all numeric fields of the classic Iris dataset, using color to distinguish the three iris species. A 4×4 grid of small SVG plots shows every pairwise combination of sepal and petal measurements, with diagonal cells displaying the feature name. The code uses the d3.csv, d3.scaleLinear, d3.scaleOrdinal, d3.axisLeft, and d3.axisBottom APIs to load data, map values to positions and colors, and render axes. Data is loaded from a remote Gist, and each circle is drawn with a fill color from the d3.schemeSet1 palette at 0.7 opacity.

AI-generated description

A multivariate comparison of all the numeric fields in the iris dataset. Colors denote members of the three iris species. Inspired by this

MIT Licensed

Similar vizzes