Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

hw4

Public visualization

Viewing a saved revision (read-only)

6333d211155b41a898ca6a462d9621f1

hw4

0 stars0🌍 Public
JJiaYu07
Last edited Oct 2, 2024
Created on Oct 2, 2024
Forked from iris

This visualization displays the Iris dataset as a brushable scatter plot matrix with four trait dimensions. Each cell shows a scatterplot of two traits, where circles are colored by species, while diagonal cells label the traits. Users can brush rectangular regions to filter points across all plots simultaneously. The code uses D3 v4 with an SVG renderer, implementing `d3.brush()` for interactive selection and `d3.scaleLinear`/`d3.scaleOrdinal` for axes and colors.

AI-generated description