Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot Save

Public visualization

Fork of Scatter Plot Save

0 stars0🌍 Public
JJesper Martinsson
Last edited Mar 2, 2023
Created on Mar 2, 2023
Forked from Scatter Plot

This visualization displays the classic Iris Dataset as a scatter plot, mapping sepal length on the x-axis against petal length on the y-axis, with each of the 150 flowers represented as a circle. The code uses D3 v7’s `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` functions to position points and render labeled axes. Data is loaded from an external CSV file and parsed with `csvParse`, then rendered using D3’s data join pattern with circles.

AI-generated description

A scatter plot of the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed