Skip to main content
100%

Activity_7.1.JS

✓ Published0🌍 Public
Aadityatrip9899@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the Iris flower dataset, cycling through different sepal and petal measurements on the x-axis while mapping petal width to the y-axis. It uses D3.js (v6.7.0) modules including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render SVG circles colored by species. A `setInterval` timer changes the x-axis variable every few seconds, demonstrating a custom reusable scatter plot module with dynamic axis and label updates.

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