Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

iris

Public visualization

Viewing a saved revision (read-only)

f117e288df024d448888d0863077535b

iris

0 stars3🌍 Public
JJiaYu07
Last edited Sep 16, 2024
Created on Sep 9, 2024

This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements through dropdown menus that select the X and Y axes. The visualization displays each flower as a colored circle, with three distinct species (setosa, versicolor, virginica) distinguished by a categorical color scale. The React-based application uses D3 v5 scales (scaleLinear, scaleOrdinal) and extent functions to map data coordinates, while custom React components render the SVG axes, marks, and color legend. The dataset loads via d3.csv from a GitHub-hosted CSV file.

AI-generated description