Skip to main content
100%

Scatter Plot with Iris DataSet

✓ Published0🌍 Public
KKiran3295
Last edited Mar 7, 2022
Created on Mar 6, 2022

A scatter plot displays the Iris dataset, encoding petal length and petal width as x and y positions while coloring each point by species (setosa, versicolor, virginica) in green, orange, or purple. The visualization uses D3 v6’s `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to load the data from a GitHub gist, map values to screen coordinates, and render axes within an SVG. Circles are drawn with a fixed radius of 5 pixels, and axis labels are manually positioned via SVG `text` elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes