🌍 Public
Viewing a saved revision (read-only)
3685c644e45f47f1967ab08024c38ded
task 8-part 3
This scatter plot visualizes iris flower measurements by plotting Student1 against Student2, with the Category of each flower encoded through different marker shapes. The visualization uses D3 v7's modular functions, including `scaleLinear` for the x and y axes, `scaleOrdinal` for shape encoding, and `symbol()` to generate the shape paths. A custom legend, built with `shapeLegend`, displays the shape-to-category mapping, while the `axes` module handles axis labeling and ticks. The data is loaded asynchronously from a CSV file hosted on GitHub, parsed with `csvParse`, and rendered as an SVG.
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.