Skip to main content
100%

Fork of D3 Scatter Plot Matrix (still and proudly Vanilla JS 🙃)

✓ Published0🌍 Public
SSammi Lin
Last edited Oct 16, 2023
Created on Oct 16, 2023

This scatter plot matrix compares all numeric fields of the classic Iris dataset, with colors distinguishing the three iris species. The visualization displays a 4×4 grid of scatter plots, each pairing two measurements, enabling multivariate comparison. Implemented as a vanilla JavaScript fork using D3 v6, the code leverages `d3.csv` to load the data, `scaleLinear` for axes, `scaleOrdinal` with `schemeSet1` for colors, and `axisLeft`/`axisBottom` for chart decorations. The SVG rendering divides the window into four quadrants, with each plot’s radius and opacity fixed for clarity.

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