🌍 Public
Viewing a saved revision (read-only)
f80f5f325d614fa08a1d4414236e535a
Activity6_Task3.2
This scatter plot visualizes the Iris dataset, encoding sepal length on the x-axis and petal length on the y-axis. It maps the categorical species attribute to different point shapes using a custom legend. The visualization is built with D3 v7, using `scaleLinear`, `scaleOrdinal`, `symbolsFill`, and a shared `axes` and `shapeLegend` module. It renders vector shapes (paths) via a `symbol` generator, with axes and labels positioned programmatically. Data is fetched as CSV and parsed with `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.