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
Vvidhyanamini
Last edited Mar 5, 2022
Created on Mar 5, 2022

This example shows a scatter plot of the Iris dataset, mapping petal length against petal width, with points colored by species (setosa, versicolor, and virginica). The code uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data, scale axes, and render SVG circles. The plot is sized to the full window and uses a fixed radius of 4 pixels for each point. Data is fetched from a GitHub-hosted CSV file.

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