🌍 Public
Viewing a saved revision (read-only)
0b8110d2868241be9d03ac336c6ed655
Activity6_Task3
This scatter plot visualizes the Iris dataset, encoding petal length and petal width for individual flowers while coloring each point by species (setosa, versicolor, virginica) using skyblue, lightgreen, and orange. The visualization is built with D3 v6, loading CSV data via `d3.csv`, mapping values with `scaleLinear`, and rendering SVG circles. Axis labels are styled with green text, and the plot fills the entire browser window by using `window.innerWidth` and `window.innerHeight`. The chart displays four measurements per flower but plots only two dimensions at a time.
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.