🌍 Public
Viewing a saved revision (read-only)
2800123a411d4196a3c39135ddb02306
Plotting for the Iris Dataset
This visualization displays the classic Iris dataset, plotting petal length on the x-axis and petal width on the y-axis, with each species (setosa, virginica, and versicolor) colored blue, red, and orange respectively. The code uses d3.csv to load the data and d3.scaleLinear with d3.extent to map values to screen coordinates. Circle marks are rendered via SVG, with axes drawn using d3.axisLeft and d3.axisBottom. Although sepal dimensions are parsed, they are not visually encoded in the final plot, which focuses solely on the petal measurements across all three species.
AI-generated descriptionA bare minimum HTML page.