🌍 Public
Viewing a saved revision (read-only)
1ced7167c7e64ecd8f056dba959675f7
Task8tutoria_3.2
This example shows a scatter plot of the Iris dataset, mapping sepal length against petal length and using different symbol shapes to distinguish the three species. The visualization includes labeled axes for both measurements and a legend that explains the shape-to-species mapping. Loading data asynchronously from a remote CSV file, the code uses D3 v7 APIs such as `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom` to render the plot and its interactive legend.
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.