Activity-6 Task-3.1
✓ Published0🌍 Public
This example visualizes the Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis. Each flower species is color-coded, with setosa, versicolor, and virginica markers distinguished by hue. The visualization uses D3 v6 APIs such as `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load data from a remote CSV, compute scales, and render SVG circles. It also attempts to set `rx` and `ry` attributes, although these have no effect on circles.
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