Fork of Iris Sushma
✓ Published0🌍 Public
SSushmareddy-gudipally
Last edited Mar 6, 2022
Created on Mar 6, 2022
This scatter plot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis. Each point is colored by species, with the fill color assigned via a custom function that maps the dataset’s species names to specific colors. The plot uses D3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to scale the data and render axes, while circles are drawn with SVG attributes in a `join` operation. The data is loaded as CSV from a GitHub gist.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed