🌍 Public
Viewing a saved revision (read-only)
53baa0de2c5e4ccda04c1ae47ec6e094
Iris Dataset Scatter Plot
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.