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 stars1🌍 Public
Ppravalliyaram
Last edited Mar 7, 2022
Created on Mar 7, 2022

This fork renders the classic Iris Dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring each point by species. It directly loads the CSV via `d3.csv`, parses numeric fields, and uses `d3.scaleLinear` with `d3.extent` to set scales. Circles are drawn with `d3.selectAll` and `join`, assigned colors per species, and styled with a fixed radius. Axes are generated using `d3.axisLeft` and `d3.axisBottom`. The SVG fills the browser window, with tick text enlarged for readability.

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