Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment-2 Task-1

Public visualization

Viewing a saved revision (read-only)

7501263bb51a455180b41cc43a847590

Assignment-2 Task-1

0 stars0🌍 Public
Vvullihanumantharao@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, cycling through four different attribute pairs on the x-axis every few seconds while the y-axis remains fixed. Points are colored by species (setosa, versicolor, virginica) with a manually drawn legend. The visualization is built using D3 v6, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` within a reusable `scatterPlot` function. Animated transitions are driven by `setInterval`, updating the x-axis mapping and re-rendering SVG circles, axes, and text labels dynamically.

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.