Skip to main content
100%

iris scatter plot

✓ Published0🌍 Public
Llindy0119
Last edited Oct 2, 2022
Created on Oct 1, 2022
Forked from Lindy

This scatter plot visualizes the classic Iris dataset, mapping sepal length and sepal width onto x and y axes. Each of the 150 data points is rendered as a circle, with species encoded by color using a d3.scaleOrdinal with a range of three distinct hues. The visualization uses D3 v5 in a React framework, leveraging d3.csv for data loading and d3.scaleLinear, d3.axisBottom, and d3.axisLeft for constructing the chart. Gridlines extend across the plot area, and axis labels are positioned via SVG text elements with rotations.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes