Activity6_Task3
✓ Published0🌍 Public
This example renders a scatter plot of the classic Iris dataset, showing petal length against petal width for three species of iris flowers, colored skyblue, lightgreen, and orange. It uses D3 v6’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to map the data, and the `csv` function to load the data from a remote GitHub URL. The visualization is drawn as SVG circles within an HTML page that imports D3 via UNPKG, and the code also demonstrates local ES6 module imports.
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