🌍 Public
Viewing a saved revision (read-only)
77aa1d0074c54709aced186e9a6292b5
Fork of Iris Dataset Scatter Plot
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 descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.