Activity6_task3.2
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of import from "d3".
- Demonstrates use of import from local ES6 modules.
MIT Licensed