🌍 Public
Viewing a saved revision (read-only)
7e70dd5d9ed8474c9586ceba7abd479b
Task-8
This example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, while using distinct symbols to encode the species of each flower. A legend on the right identifies the shape-to-species mapping. The visualization is built with D3 v7, using `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and `symbol` to generate the marks, along with custom axis and legend modules. Data is loaded asynchronously via `fetch` and parsed with `csvParse` from a remote CSV file.
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.