Activity-6-task-3.2
✓ Published0🌍 Public
This scatter plot visualizes the iris dataset, mapping sepal length to petal length and encoding species with distinct symbols. The chart uses D3’s `scaleLinear` for axes and `scaleOrdinal` with `symbolsFill` for shape mapping, along with custom `axisLeft`, `axisBottom`, and `shapeLegend` modules. Data is loaded from a CSV via `fetch` and parsed with `csvParse`. The visualization also includes labeled axes and a legend, leveraging D3’s selection join API for efficient SVG updates.
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