Skip to main content
100%

Fork of Scatter Plot Save

✓ Published0🌍 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.

MIT Licensed

Similar vizzes