🌍 Public
Viewing a saved revision (read-only)
0276c8f5a3ae4c04913f47c40c413d17
Task3.2
This interactive scatter plot displays the relationship between sepal length and petal length for three iris species, distinguishing each species with a distinct symbol shape and a legend. The visualization uses D3 v7 scales, axes, and reusable chart modules, with the scatterPlot component rendering SVG path marks via d3.symbol. The axis and legend components are composed using D3’s selection joins and call syntax. Data loads asynchronously from a remote CSV file, parsed with d3.csvParse, and scales are computed from extents using d3.scaleLinear and d3.scaleOrdinal.
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.