🌍 Public
Viewing a saved revision (read-only)
df42d0c1cac74135bbfc61ee04f73c62
Activity6
The visualization displays the classic Iris dataset, showing interactions between four flower measurements across three species. It presents an interactive scatter plot where users can select any measurement combination for the x and y axes via dropdown menus. Data points are rendered as animated circles that transition smoothly when axes change, colored by species class with a corresponding legend. The implementation uses D3 v5 with `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisBottom`, and `d3.axisLeft` for scales and axes, while a `transition().attr` handles the animated circle placement.
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.