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)

744841e195524b72b06e8c7806a62890

Fork of Iris Dataset Scatter Plot

0 stars0🌍 Public
Eeravellisaimeghana
Last edited Mar 8, 2022
Created on Mar 8, 2022

This example visualizes the Iris Dataset as a scatter plot, mapping petal length and width to the x and y axes while colors denote the three species (setosa, versicolor, and others). It also embeds sepal length and width as additional attributes on the circles. The code loads CSV data via `d3.csv`, scales the values with `d3.scaleLinear`, and renders SVG circles using `d3.select` and `.join()`. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, and the visualization 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.