🌍 Public
Viewing a saved revision (read-only)
f128dbb7ffe640f0b4ec574bc99bbeb7
Activity6_task3.2
This example renders a scatter plot of the Iris dataset, mapping sepal length and petal length along the axes while encoding species with distinct symbol shapes. The visualization loads data from a remote CSV file and uses D3 v7’s low-level modules—`scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol`—to construct the plot, axes, and a custom shape legend with translated tick marks. The code composes reusable modules for axes, legend, and scatter plot rendering, demonstrating a modular approach to building interactive SVG graphics.
AI-generated description