🌍 Public
Viewing a saved revision (read-only)
37e1e3a7c8124a0ba36725270712ffdf
Activity 6_ Task 3.2
This scatter plot displays the relationship between sepal length and petal length for iris flowers, with each point’s shape encoding the species. The visualization loads the iris dataset from a GitHub-hosted CSV file and parses it using `d3.csvParse`. It builds the plot with `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shape mapping, and renders marks via `d3.symbol` with a size of 200. The chart includes labeled axes and a custom shape legend, using the `axes.js` and `shapeLegend.js` modules.
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.