🌍 Public
Viewing a saved revision (read-only)
3eb133fb3805434784d38d222d8b7a8a
Fork of Activity_6_3-2
This interactive scatter plot displays the Iris dataset, showing sepal length against petal length, with each flower species distinguished by a unique symbol shape (circles, triangles, and diamonds) and a corresponding legend. Using D3 v7, the visualization implements a modular architecture with separate axes, shape legend, and scatter plot components. The code leverages D3 scales (scaleLinear, scaleOrdinal), symbol generators from d3-shape, and data-join patterns to render markers and update the visualization. Iris data is loaded asynchronously from a CSV file, parsed with d3.csvParse, and numeric fields are converted before rendering.
AI-generated description