🌍 Public
Viewing a saved revision (read-only)
feb0fdb19165408da5e92e34b6a86dd8
Activity Task 3
This scatter plot visualizes the Iris dataset, displaying petal length and width on the x and y axes while coloring each point by species (setosa, versicolor, and virginica) using a custom color mapping. The visualization uses D3 v6 with SVG rendering, leveraging `d3.csv` for data loading, `scaleLinear` and `extent` for scaling, and `axisLeft` and `axisBottom` for axes. The circles also encode sepal dimensions through `rx` and `ry` attributes, though these appear non-standard for circle geometry. The graph is dynamically sized to the browser window.
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.