🌍 Public
Viewing a saved revision (read-only)
d0790d4df1ee4ae9b29ee8f9a73c2581
Activity6_task3.2
This scatter plot displays the relationship between sepal length and petal length for Iris flowers. The visualization maps petal length on the y-axis, sepal length on the x-axis, with species differentiated by distinct symbol shapes. A legend indicates which shape corresponds to each species. The code uses d3's `scaleLinear`, `scaleOrdinal`, `symbol`, `axisLeft`, and `axisBottom` APIs to construct the plot. Data is loaded from a remote CSV file containing the classic Iris dataset, fetched and parsed with `fetch` and `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.