Skip to main content
100%

Iris Scatter Plot

✓ Published0🌍 Public
JJepyagg
Last edited Sep 24, 2020
Created on Sep 24, 2020

This is a D3.js scatter plot that visualizes the Iris dataset, showing petal length against petal width for 150 flowers of three species. Each species is represented by a colored circle, with colors assigned using `d3.scaleOrdinal` (Iris-setosa in dark blue, Iris-versicolor in magenta, and Iris-virginica in light blue). The visualization uses `d3.scaleLinear` for both axes and renders the SVG elements with `axisBottom` and `axisLeft` for labeled tick marks. Data is loaded from a TSV file via `d3.tsv` and parsed before rendering.

AI-generated description

Iris scatter plot with each class of iris being colored accordingly. Student ID:109062513

MIT Licensed

Similar vizzes