TP2
This example visualizes the classic Iris dataset, plotting sepal length against sepal width for three species of iris flowers. Each species is distinguished by a unique D3 symbol shape and color: crosses for setosa, stars for versicolor, and wye symbols for virginica. A green line overlays the scatterplot, representing a linear regression trend calculated from the data’s sepal dimensions. The visualization is built with D3 v4, using its SVG rendering, linear scales, axis generators, and symbol API to display the categorical data points.