🌍 Public
Viewing a saved revision (read-only)
f8f01483a76848708884fdde8d25c379
Activity6_Task3-2
This scatter plot visualizes Iris flower measurements, mapping sepal length to the x-axis and petal length to the y-axis. Each flower is rendered as a D3 symbol, with species distinguished by distinct shapes (circles, crosses, and diamonds) via d3.scaleOrdinal and d3.symbolsFill. The visualization includes labeled axes and a custom shape legend, with data fetched from a remote CSV file and parsed using d3.csvParse. The code uses d3.scaleLinear for positioning and d3.axisLeft/axisBottom for tick rendering.
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.