Activity 7 Task 4
✓ Published0🌍 Public
This example displays an interactive scatter plot of Fisher's Iris dataset, mapping sepal length and petal length while encoding species through distinct marker shapes. Built with D3.v7, it uses imports like `scaleLinear`, `scaleOrdinal`, and `symbol` to handle scaling and shape generation. The code fetches CSV data via URL, parses it with `csvParse`, and renders axes with `axisLeft` and `axisBottom`, including a custom shape legend to identify species.
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