🌍 Public
Viewing a saved revision (read-only)
2f087fcf67c647dba8adbbaf9fdec328
Activity6 - Tutorial 3.2
This scatter plot visualizes the Iris dataset, showing sepal length against petal length for different flower species. The D3.js v7 code uses `scaleLinear` for both axes, `scaleOrdinal` with `symbolsFill` to assign distinct shapes to each species, and a custom legend showing the shape-to-species mapping. Data loads asynchronously from a GitHub-hosted CSV file using `csvParse`, with axes generated via `axisLeft` and `axisBottom`.
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.