Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Dataset Scatter Plot

Public visualization

Fork of Iris Dataset Scatter Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed