🌍 Public
Viewing a saved revision (read-only)
2a1677a8906945108b474bbba4aee82f
Activity 6_Task 3.2_Tutorial
This example shows a scatter plot of the Iris dataset, mapping sepal length to petal length and using distinct symbols to differentiate the three species. The visualization loads data from a remote CSV file and uses `csvParse`, `scaleLinear`, and `scaleOrdinal` to position points and assign symbol types. Axes are drawn with `axisLeft` and `axisBottom`, while a custom legend displays the species labels. The chart size and legend placement adapt to the window, demonstrating a modular D3 v7 setup with reusable functions.
AI-generated description