Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Scatter Plot Matrix multiple colors

Public visualization

Viewing a saved revision (read-only)

599c7cc1e27d4e259400c4f6b149f5cd

Fork of D3 Scatter Plot Matrix multiple colors

0 stars0🌍 Public
TTiado Kollender
Last edited Jan 2, 2023
Created on Jan 2, 2023

This example presents a 4×4 scatter plot matrix comparing all numeric fields of the Iris dataset (sepal length/width, petal length/width). Each cell uses colored circles, scaled by d3.scaleLinear and colored by d3.scaleOrdinal with the schemeSet1 palette, to distinguish the three iris species. Data is loaded via d3.csv from a remote gist. Titles appear only on diagonal plots, and axes are rendered with d3.axisLeft and d3.axisBottom, while the SVG matrix is dynamically generated by nested loops.

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