Skip to main content
100%

Fork of Scatter Plot Using Iris Data

✓ Published0🌍 Public
SSheshidharreddy
Last edited Mar 28, 2022
Created on Mar 28, 2022

This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each data point colored by species (green, purple, or red). The code uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, rendering circles as SVG elements. Sepal length and width are also read from the data, though they are not used in the plot’s geometry, and axis labels are added as text elements.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes