🌍 Public
Viewing a saved revision (read-only)
fc14d1ef1c94440b8699ed26d6d30aca
Activity-7 Tutorial
This animated scatter plot cycles through four Iris flower measurements—petal width, sepal width, petal length, and sepal length—as the x-axis every five seconds, using D3 scales and axes. The visualization loads CSV data via d3.csv, renders points as SVG circles with d3.scaleLinear and extent, and updates the axis through setInterval. A color-coded legend distinguishes the three species, while axis labels and a title appear as SVG text elements.
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.