Assignment -2
✓ Published0🌍 Public
This animated scatterplot explores the classic Iris dataset, cycling through different sepal and petal measurements on the x-axis while keeping sepal length on the y-axis. Each point is colored by species, with a fixed legend and color scheme. The visualization uses D3.js, employing `scaleLinear`, `axisLeft`, and `axisBottom` from the D3 library to construct the plot. SVG rendering and a `setInterval` loop drive the animations, swapping the x-axis variable every few seconds to reveal different relationships in the data.
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