Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 9.1

Public visualization

Viewing a saved revision (read-only)

806abbfd8b834cd19ba6ade338877029

Activity 9.1

0 stars0🌍 Public
Ss.harshinisai01@gmail.com
Last edited Apr 20, 2024
Created on Apr 20, 2024
Forked from Hello VizHub

This animated scatter plot displays measurements from the Iris flower dataset, with points colored by species (setosa, versicolor, virginica). The visualization cycles through different feature combinations—petal width, sepal width, petal length, and sepal length—on the x-axis, while keeping sepal length on the y-axis. Built with D3.js, it uses a custom reusable `scatterPlot` component with `d3.scaleLinear` scales, axes, and a `setInterval` timer to update the plot dynamically. The SVG rendering includes a color-coded legend and axis labels.

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.