Skip to main content
100%

Fork of Iris Dataset Scatter Plot

✓ Published0🌍 Public
VVaishnavi6199
Last edited Mar 7, 2022
Created on Mar 7, 2022

This D3.js (v6) scatter plot visualizes the classic Iris Dataset by plotting petal length against sepal length. Points are colored by species—setosa in chartreuse, versicolor in orange, and virginica in blue—with axes labeled and rendered by `axisLeft` and `axisBottom`. The code loads CSV data via `d3.csv`, maps values using `scaleLinear` and `extent`, and draws circles as SVG marks. The chart fills the browser window, with axis labels added as text elements.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes