Iris Scatter Plot
✓ Published1🌍 Public
This interactive scatter plot visualizes the classic Iris dataset, letting users compare any two of its four measurements (sepal length, sepal width, petal length, petal width) via dropdown menus. Points are colored and grouped by the three Iris species, with a legend identifying each. The chart renders as an SVG using D3 v5, with axis labels and tick marks styled for readability. On initial load and whenever a new column is selected, the circles animate from the center to their positions using a two-second `transition` with staggered delays. The code leverages `d3.csv` for data loading, `scaleLinear` for positioning, and `axisBottom`/`axisLeft` for the 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.
MIT Licensed