Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 9

Public visualization

Viewing a saved revision (read-only)

3beff4cc4c024532860818f497af0e08

Activity 9

0 stars0🌍 Public
HHarshita Vairagade
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This visualization displays the Iris dataset as an animated scatter plot, cycling through different feature pairs for the x-axis on an interval. It shows the relationships between various sepal and petal measurements, with each species (setosa, versicolor, virginica) color-coded. The plot, built with D3.js and a reusable `scatterPlot` module, updates dynamically using `setInterval`, re-rendering SVG circles with colors and labels. It demonstrates how to create a modular, animated plot with `d3.csv`, `scaleLinear`, and `axisBottom`/`axisLeft` APIs.

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.