🌍 Public
Viewing a saved revision (read-only)
f0d81896b7ef467fa0922d814a7b384a
Activity6_Tutorial_3.2
This example presents a scatter plot of the Fisher Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, with each species distinguished by a unique fill symbol. The visualization includes labeled axes and a shape legend to identify species. Implemented with D3 v7, it uses `scaleLinear` and `scaleOrdinal` for scaling, `symbol()` for symbol generation, and custom modules for drawing axes and legend, fetching the data from a GitHub-hosted 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.