🌍 Public
Viewing a saved revision (read-only)
d6cd0d5d150843429d3977a181a02622
Activity7_task4_shape
This scatter plot visualizes iris flower measurements, encoding sepal length on the x-axis, petal length on the y-axis, and species as different symbol shapes. The plot uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the marks. A custom legend built with `shapeLegend` displays the species-to-shape mapping, while the `axes` module adds labeled axes. Data is loaded asynchronously from a CSV file on GitHub and parsed with `csvParse`.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.