Activity 7 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, showing the relationship between petal length and petal width, with each point colored by species. It uses D3 v6 to load CSV data via `d3.csv`, then renders circles as SVG elements using `scaleLinear` for axes. The code distinguishes three species with a color mapping function and displays labeled axes for petal and sepal measurements.
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.
MIT Licensed