Skip to main content
100%

Tutorial_9

✓ Published0🌍 Public
SSiddhartha Alwala
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This interactive SVG visualization displays the Iris dataset, cycling through different measurement pairs (petal width, sepal width, petal length, sepal length) on the x-axis while keeping sepal length on the y-axis. It uses D3 6.7.0 loaded via UNPKG, employing `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for axes and scaling. The animation updates every second via `setInterval`, recoloring points by species with a legend. A reusable `scatterPlot` module handles the chart structure, while custom markers and axis labels enhance the display.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes