Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 Scatter Plot Matrix multiple colors

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of D3 Scatter Plot Matrix multiple colors

0 stars0Public
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

Comments

Sign in to join the discussion.

MIT Licensed