Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Scatter Plot

Public visualization

Iris Scatter Plot

0 stars0🌍 Public
Wwaterm80
Last edited Sep 29, 2022
Created on Sep 25, 2022

This interactive scatter plot displays the Iris dataset, showing measurements of sepal and petal length and width. Users can select which measurement appears on the x-axis and y-axis via dropdown menus. The visualization uses d3.scaleLinear for axis scaling and d3.axisLeft and d3.axisBottom for axes, with circles animated via transition().duration() and delay(). Colors are assigned to species using d3.scaleOrdinal with a manual color range, and a legend is drawn with SVG rectangles and text. Data loads from a CSV URL, and rendering uses SVG with 2-second animated transitions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed