Skip to main content
100%

Task-9&10 Tutorial

✓ Published0🌍 Public
Ttallurisaiteja96@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Hello VizHub

This animated scatterplot cycles through four iris flower measurements—petal width, sepal width, petal length, and sepal length—on the x-axis while keeping sepal length fixed on the y-axis. It uses D3 v6 modules like `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, and `csv` to load the Iris dataset from a remote URL. A `setInterval` updates the x-scale domain and redraws the SVG circles, with species-specific colors (skyblue, lightgreen, orange) and a static legend, plus dynamic axis titles and labels.

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