🌍 Public
Viewing a saved revision (read-only)
f7064af2ce404405a7fb15334e30d744
Activity 6_Task 3.2
This example presents a scatter plot of the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis, with species encoded by distinct point shapes. The visualization is rendered as an SVG that fills the browser window, using D3 v7’s scaleLinear for axes, scaleOrdinal for shape mapping, and symbol generators for markers. Data is loaded asynchronously from a remote CSV file, parsed with csvParse, and refreshed via a state-based render loop.
AI-generated description