Skip to main content
100%

Iris-scatter-plot

✓ Published0🌍 Public
Wwilliamkuo2000
Last edited Oct 1, 2022
Created on Oct 1, 2022
Forked from HTML Starter

This interactive scatter plot visualizes the classic Iris dataset, allowing users to compare any combination of sepal and petal measurements via dropdown menus. Each point represents a flower sample, colored by species (setosa, virginica, or versicolor) using D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The visualization dynamically re-renders the SVG on selection changes, with axis labels indicating the chosen attributes. Data is loaded as CSV from a GitHub gist, and the code uses d3.csv, d3.select, and d3.join to update circles.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes