activity6 task-3.2
✓ Published0🌍 Public
This example displays the classic Iris dataset as an interactive scatter plot, mapping sepal length on the x-axis, petal length on the y-axis, and using different filled shapes (from `d3.symbolsFill`) to distinguish the three species of iris flowers. It loads data from a remote CSV file via `fetch` and parses it with `d3.csvParse`. The visualization is built entirely with D3 v7, using `scaleLinear`, `scaleOrdinal`, and `symbol` to construct the marks, along with custom local modules for drawing axes and a shape legend. The plot resizes to fill the browser window.
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.
MIT Licensed