🌍 Public
Viewing a saved revision (read-only)
370273ad66b54745bed151da09715bcf
Fork of task3.2
This visualization shows the classic Iris dataset as a scatter plot of sepal length against petal length, with points colored and shaped by species using D3 v7. The code employs `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` to map species to distinct shapes, and custom legend and axis modules. Data is loaded from a CSV via `csvParse` and rendered with `d3.symbol` paths sized at 200 pixels. The plot uses a viewport-sized SVG with margins, updating interactively based on window dimensions.
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.