Activity6_Task3
✓ Published1🌍 Public
This example displays a scatter plot of the Iris dataset, positioning each flower by petal length and petal width while coloring points by species (setosa, versicolor, or virginica) with a legend-like mapping. It loads the CSV from a GitHub repository using D3’s `csv` function, parses numeric fields, and renders SVG circles. The code uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `select` to build the chart, with axes labeled 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