Iris Dataset Scatter Plot
✓ Published0🌍 Public
Mmandalasaikrishna007
Last edited Mar 7, 2022
Created on Mar 6, 2022
This scatter plot visualizes the classic Iris Dataset using D3.js v6, displaying petal length against petal width for three species of iris flowers. The visualization encodes species membership through color, with setosa points in blue, versicolor in red, and virginica in black. The code loads comma-separated data from a GitHub gist, then uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the plot with labeled axes. The SVG rendering uses `<circle>` elements with a fixed radius, while axis text is styled with a 24-pixel font size for readability.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed