🌍 Public
Viewing a saved revision (read-only)
79284f9598be4d45bc4b68588444a467
Task-8(Q3)
This example displays a scatter plot of the Iris dataset, visualizing petal length against petal width with points colored by species (setosa, versicolor, virginica). The visualization uses D3 v6 to load CSV data, map values through `scaleLinear` and `extent`, and render SVG circles. Axes are generated with `axisLeft` and `axisBottom`, with labels rotated via `transform`, and the chart fills the browser window using `window.innerWidth` and `innerHeight`.
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.