🌍 Public
Viewing a saved revision (read-only)
bddf9a565e5045f6accdd01dc61e53c9
Activity6-Task3.2
This visualization presents the classic Iris dataset as a scatter plot, mapping sepal length against petal length. Each data point is rendered as a distinct symbol, with the species of each iris encoded by shape. The visualization also includes a custom legend that translates the symbol shapes into their corresponding species names. Built using D3 v7, the example leverages `scaleLinear`, `scaleOrdinal`, `symbolGenerator`, and `axisBottom`/`axisLeft` from the `d3` library, with the underlying data fetched and parsed via `d3.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.