Activity-6_Task-3.2
✓ Published1🌍 Public
This D3.js v7 example visualizes the Iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with species encoded by shape using `d3.symbolsFill` and `d3.scaleOrdinal`. It loads D3 via UNPKG and uses local ES6 modules. The chart renders axes with `d3.axisLeft` and `d3.axisBottom`, a shape legend, and fetches data from a GitHub-hosted CSV, parsing it with `d3.csvParse`.
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