Fork of Hello VizHub
✓ Published0🌍 Public
This example presents an animated scatter plot of the Iris dataset, cycling through different x-axis variables to visualize petal and sepal measurements across three species. The visualization uses D3's `scaleLinear` for axes and a custom `scatterPlot` module to manage the chart's geometry. It incorporates a color-coded legend for species, axis labels, and a title, with data loaded via `d3.csv` from a remote URL and rendered as SVG circles. The animation shifts the x-axis among four measurement columns at regular intervals.
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