🌍 Public
Viewing a saved revision (read-only)
d718811797ed4011940f27c579768c39
Activity6_Tutorial3.2
This scatter plot visualizes the relationship between sepal length and petal length in the Iris dataset, using different point shapes to distinguish between species. The chart maps the data from a CSV file fetched at runtime, rendering each flower as a symbol on a linear scale, with a separate legend identifying the species. It is built with D3 v7, using `scaleLinear` for axes, `scaleOrdinal` for shape encoding, `symbolsFill` for the point symbols, and custom functions like `axes` and `shapeLegend` for layout.
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.