Assignment 2 3q
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species (setosa, versicolor, virginica). The visualization uses D3 v6's `csv`, `scaleLinear`, and `axisLeft`/`axisBottom` functions to load data, map coordinates, and render axes within an SVG. While the plot primarily encodes petal measurements, the code also maps sepal length and width to the circle's `rx` and `ry` attributes, though these are overridden by the constant `r` attribute, so the points appear as uniform circles. The title and axis labels are styled with CSS and rendered in a red, serif font.