🌍 Public
Fork of D3 Scatter Plot Matrix (still and proudly Vanilla JS 🙃)
Aadventuresenglish.info@gmail.com
Last edited Dec 7, 2023
Created on Dec 7, 2023
A four-by-four scatter plot matrix compares every pair of numeric measurements in the iris dataset, with points colored by species using the `d3.scaleOrdinal` schemeSet1 palette. Each cell renders an SVG with `d3.axisLeft` and `d3.axisBottom` scales, while diagonal panels label their corresponding feature. The code fetches the CSV via `d3.csv`, parses numeric fields, and loops through all combinations to append individual SVGs sized to a quarter of the window. D3 v6 is loaded from a CDN and used as a browser global.
AI-generated descriptionA multivariate comparison of all the numeric fields in the iris dataset. Colors denote members of the three iris species. Inspired by this
MIT Licensed
Comments
Sign in to join the discussion.