Untitled
✓ Published1🌍 Public
This example visualizes the classic Iris dataset as an animated scatterplot that cycles through four different feature pairings on the axes every few seconds. The plot maps petal width and sepal length initially, with points colored by species using custom color markers for setosa, versicolor, and virginica. It uses D3’s `csv` loader to fetch data from a GitHub gist, `select` and `join` to manage SVG circles, and a `setInterval` to update axis values dynamically. The visualization includes a legend, axis labels, and a title, all rendered as SVG 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.
MIT Licensed