activity 6-Tas 3.2
✓ Published0🌍 Public
This scatter plot displays the relationship between sepal length and petal length for three iris species, with points shaped by species type. Built with D3 v7, it uses `d3.scaleLinear` for continuous axes, `d3.scaleOrdinal` with `d3.symbolsFill` for shape encoding, and `d3.axisLeft`/`d3.axisBottom` for tick marks. A custom legend module renders glyphs via `d3.symbol`, while data loads asynchronously from a CSV hosted on GitHub and is parsed with `d3.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.
MIT Licensed