🌍 Public
Viewing a saved revision (read-only)
c1f087d0704b472092a83ed7869fd610
tutorial 3.2
This scatter plot shows the relationship between sepal length and petal length for different iris species, with the species encoded by symbol shape. The d3.js v7 code builds the visualization using a `scaleLinear` for the axes, a `scaleOrdinal` for the categorical shape mapping, and `symbolsFill` from d3 to render the points. It also includes a custom legend that displays each species with its corresponding shape, and the plot loads data from a CSV file containing the iris dataset. The axes and labels are generated using d3's `axisLeft` and `axisBottom` functions.
AI-generated description