Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Iris Dataset Scatter Plot

Public visualization

Viewing a saved revision (read-only)

9d0487a3771f411ba74d4d8167458e42

Fork of Iris Dataset Scatter Plot

0 stars0🌍 Public
Ssaiteja0725
Last edited Mar 7, 2022
Created on Mar 7, 2022

This visualization displays the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica). The code loads CSV data using D3’s `d3.csv`, scales the axes with `d3.scaleLinear`, and renders circles as SVG elements. Axes are generated via `d3.axisLeft` and `d3.axisBottom`, and the plot fills the browser window using `window.innerWidth` and `window.innerHeight`. The data is sourced from a GitHub gist containing iris measurements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.