🌍 Public
Viewing a saved revision (read-only)
815d9b24400f445c9b0e403bd73dfac2
Activity_6_task_3
This scatter plot visualizes the Iris dataset, mapping petal length and width for each flower specimen, with points colored by species (setosa, versicolor, or virginica). The visualization uses D3 v6 to load the CSV data, scales the coordinates, calculates the extent of the data, and renders circles in an SVG. It leverages D3's `scaleLinear`, `axisLeft`, `axisBottom`, and an interactive `join` operation to bind data to the circles, with a custom marker function assigning fill colors based on species.
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.