Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act 7.1

Public visualization

Viewing a saved revision (read-only)

9ae33ff629284b68b6bae18e03dcb928

act 7.1

0 stars0🌍 Public
Ggalijawaharnath@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This animated scatterplot explores the Iris dataset, cycling through four feature pairings on the axes every few seconds. Each point represents a flower, colored by species (setosa, versicolor, virginica) with a fixed legend and title. The visualization is built with D3.js, using `scaleLinear`, `axisLeft`, `axisBottom`, and a reusable `scatterPlot` function. SVG elements are updated via `setInterval` to swap the x-axis variable, while separate circle elements encode the current marks and static legend shapes persist.

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.