🌍 Public
Viewing a saved revision (read-only)
f097e77b5cb14567b1c24f3261b913fa
Activity6 Tutorial 3.2
This scatter plot visualizes the Iris dataset, mapping sepal length against petal length. The visualization encodes the species of each iris flower using different shape markers, with a legend positioned on the right side. The code uses d3.scaleLinear for axes, d3.scaleOrdinal with d3.symbolsFill for shape encoding, and d3.axisLeft and d3.axisBottom for axis rendering. Data is loaded asynchronously via CSV fetch and parsed with d3.csvParse before being displayed.
AI-generated description