Activity6_task3.2
✓ Published0🌍 Public
This example creates an interactive scatter plot using D3 v7 that visualizes the Iris dataset loaded from a GitHub-hosted CSV file. The chart displays sepal length on the x-axis and petal length on the y-axis, with different symbols representing each iris species. The visualization uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.symbolsFill` for categorical shapes, and a custom legend built with `d3.symbol`. The code demonstrates modular ES6 imports, reusable chart components, and dynamic data fetching with `d3.csvParse` and `fetch`.
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