🌍 Public
Activity 6_tutorial_3.2
This example shows a scatter plot of Iris flower measurements, mapping sepal length to the x-axis and petal length to the y-axis. Each point’s shape encodes the species, with a custom legend positioned at the top right. The visualization uses d3.v7 with `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to render marks, plus `axisLeft` and `axisBottom` for labeled axes. Data is loaded asynchronously from a remote CSV file via `csvParse` and rendered in a full-window SVG.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.