🌍 Public
Viewing a saved revision (read-only)
b59553b60a324cad8426be21a50f6632
Activity6_Task3.1
This scatter plot shows the relationship between sepal length and petal length for three iris species, using distinct symbol shapes to encode species identity. The visualization includes labeled axes and a legend that maps species names to their corresponding shapes. Built with D3 v7, the code uses `scaleLinear` for positional encodings, `scaleOrdinal` with `symbolsFill` to assign shapes, and `symbolGenerator` to render marks. Data is loaded asynchronously from a CSV file containing the classic iris dataset, parsed with `csvParse` before numeric fields are converted.
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.