🌍 Public
Viewing a saved revision (read-only)
aed454511b174e119f8f9344e773afe6
Activity6_Task3
This scatter plot visualizes the Iris dataset, plotting petal length against petal width, with each point colored by species (setosa, versicolor, or virginica) using a custom marker function. The visualization is built with D3 v6, using `scaleLinear` for both axes, `axisLeft` and `axisBottom` for chart framing, and loads the data from a remote CSV file via the `csv` function. Note that while the code also parses sepal dimensions, only the petal measurements are currently displayed. The chart is drawn as an SVG, with circles sized at a fixed radius and axes labeled in green.
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.