Skip to main content
100%

Fork of D3 Scatter Plot Matrix multiple colors

✓ Published0🌍 Public
NNikithakatta30
Last edited May 12, 2023
Created on May 12, 2023

This visualization presents a 4x4 scatter plot matrix comparing seven numeric fields from a happiness dataset, with each point colored by country using the d3.schemeSet1 categorical palette. The code loads CSV data via d3.csv, parses numeric columns, and iterates through all variable pairs to generate individual SVG charts using d3.scaleLinear, d3.axisBottom, and d3.axisLeft. Titles appear only on diagonal cells, while off-diagonal plots show pairwise correlations, and the full window is divided into equal quadrants with hidden scrollbars for seamless viewing.

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