Activity6-Task3.1
✓ Published0🌍 Public
This example displays a scatter plot of the Iris dataset, mapping petal length and width as the primary x and y coordinates while encoding species with distinct colors (skyblue, lightgreen, orange). It also overrides circle radii with sepal length and width values via `rx` and `ry`, creating elliptical points. The visualization uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and SVG circle joins. Data is loaded from a remote CSV URL, and the chart is rendered to an SVG canvas with custom axis labels.
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