Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 9

Public visualization

Viewing a saved revision (read-only)

c0542ee84e1743538cd3ba12f41ec4c2

activity 9

0 stars0🌍 Public
Ppadiginetivishnupriya@gmail.com
Last edited Apr 22, 2024
Created on Apr 21, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the Iris dataset, cycling through different pairings of sepal and petal measurements on the x-axis while keeping sepal length on the y-axis. Circles are colored by species via a custom marker function, with a legend and axis labels rendered as SVG text. Built with D3 v6, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` to update the scatter plot's x-value binding every few seconds. Data is loaded asynchronously from a remote CSV file using `d3.csv` with row parsing.

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.