🌍 Public
Viewing a saved revision (read-only)
760b1dd1005344369d607677632e305c
Activity6_Task3.2
This example displays a scatter plot of the Iris dataset, showing sepal length against petal length with points colored and shaped by species. It loads the CSV from a GitHub repository using `d3.csvParse`. The visualization uses D3 v7 scales including `scaleLinear` and `scaleOrdinal` with `symbolsFill` to differentiate species, while a custom legend built with `symbolGenerator` lists the categories. Axes are generated via `axisLeft` and `axisBottom` with explicit labels for each measurement.
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.