🌍 Public
Viewing a saved revision (read-only)
8c1322551780452683e7302245194339
Activity_Task 3.2
This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis. Data points are colored and shaped by species, with a custom legend indicating the species categories. Built with D3 v7, the code uses `scaleLinear` for axes, `scaleOrdinal` with `symbolsFill` for shapes, and the `symbol` generator to render marks. It imports local modules (`scatterPlot`, `axes`, `shapeLegend`) and loads data via `csvParse` from a remote CSV.
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.