Activity 6 Task 3.2
✓ Published0🌍 Public
This example demonstrates a scatter plot of the Iris dataset, using D3 v7 to visualize sepal length against petal length with points colored and shaped by species. It loads data from a CSV file via a URL and renders an interactive SVG chart with labeled axes. The code highlights the use of D3 modules such as `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft`/`axisBottom`, along with a custom legend for categorical shapes. The visualization updates responsively to the browser window size.
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