Skip to main content
100%

Activity 7- question 1

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

This animated scatter plot explores the classic Iris dataset, cycling through different measurements (petal width, sepal width, petal length, sepal length) on the x-axis while keeping sepal length on the y-axis. It uses D3.js via the `csv` and `scaleLinear` APIs, with `select` for DOM manipulation and `setInterval` to trigger periodic updates. Each species (Setosa, Versicolor, Virginica) is color-coded, and the visualization includes a custom legend, axis labels, and a title, all rendered as an SVG with smooth transitions between dimensions.

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