Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Iris Dataset Scatter Plot

Public visualization

Iris Dataset Scatter Plot

0 stars0🌍 Public
Aaashrithd4
Last edited Mar 6, 2022
Created on Mar 6, 2022

This scatter plot visualizes the Iris Dataset, plotting petal length on the x-axis against sepal length on the y-axis. Each flower is represented by a red circle, with axes labeled directly in the SVG. The code loads CSV data using `d3.csv`, then applies `scaleLinear` with `extent` to map values, and renders marks via SVG circles. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, while the chart fills the browser window using `window.innerWidth` and `window.innerHeight`.

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