🌍 Public
Viewing a saved revision (read-only)
f999d2d0bf3e4281abd6472859edd771
ICE - 6 Scatter Plot
This example visualizes the Iris Dataset, plotting petal length and width for each flower. Three species—setosa, virginica, and versicolor—are differentiated by green, orange, and blue fill colors. The code uses `d3.csv` to load data, `scaleLinear` for x and y axes, and SVG circles for rendering. Data parsing converts string measurements to numbers, while `axisLeft` and `axisBottom` append labeled axes. Despite assigning `rx` and `ry` attributes, the circles use a fixed `r` of 6.5 pixels.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.