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

This example visualizes the Iris dataset, plotting petal length against petal width for individual flower specimens while color-coding points by species (setosa, versicolor, and virginica). It uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to generate axes and map data to screen coordinates. The SVG circles are rendered with `select`, `append`, and a join operation, and the data is loaded via `d3.csv` from a raw GitHub source.

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