🌍 Public
Viewing a saved revision (read-only)
cf368a99f8df40a5a522cbebbefd71b3
Tutorial6.1
This interactive scatter plot animates through four different axis pairings of the Iris flower dataset, cycling every few seconds. It displays points colored by species, with a legend labeling Setosa, Versicolor, and Virginica, using d3.csv for data loading and d3.scaleLinear for scaling. The animation is driven by setInterval, which updates the x-axis mapping and re-renders the SVG, using the scatterPlot custom module with d3.axisBottom and d3.axisLeft for axes.
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.