Skip to main content
100%

Plotting for the Iris Dataset

✓ Published0🌍 Public
AAmanullah007
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from Hello HTML

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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes