Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot Save

Public visualization

Viewing a saved revision (read-only)

5fd1bd59c05e401f8de998c7fe0140c1

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.