🌍 Public
Viewing a saved revision (read-only)
0e5efe267ab14e6887eebb653e995e3e
Activity6-Tutorial 3
This scatter plot visualizes the Iris dataset, mapping petal length and width as the primary x and y coordinates while encoding sepal dimensions as elliptical radii. Data is loaded from a GitHub CSV via `d3.csv` and parsed before scaling with `d3.scaleLinear` and `d3.extent`. The SVG canvas renders colored circles per species using a switch-based color marker, with axes generated via `d3.axisLeft` and `d3.axisBottom`. The chart fills the window, with labeled axes and a rotated y-axis title displayed 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.