🌍 Public
Viewing a saved revision (read-only)
6a776657f52b4fa9ba2919ae89b3b55b
Activity6-Task3.1
This scatter plot visualizes the Iris dataset, using petal length and width to position each of the 150 flowers. The plot colors each point by species—setosa, versicolor, and virginica—using distinct hues. Built with D3 v6, the visualization loads CSV data via `d3.csv`, encodes values with `d3.scaleLinear` and `d3.extent`, and renders axes through `d3.axisLeft` and `d3.axisBottom`. The code constructs circular marks within an SVG canvas, with a title and axis labels styled in red and 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.