🌍 Public
Viewing a saved revision (read-only)
888585e84ec14d609f44afa6d32818cc
activity6 task_3
This scatter plot visualizes the iris dataset, mapping sepal length to the x-axis and petal length to the y-axis, while encoding species with distinct symbol shapes. The chart includes labeled axes and a shape legend identifying each species. Built with D3 v7, it uses `scaleLinear` for spatial encoding, `scaleOrdinal` with `symbolsFill` for shape mapping, and custom modules for axes and legend rendering. Data is loaded asynchronously via `fetch` and parsed with `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.