Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

757bdbc2a4754e80b940d22135adf957

Activity 6

0 stars0🌍 Public
Aanjeevu@gmail.com
Last edited Jul 11, 2024
Created on Jul 11, 2024
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, cycling through different x-axis variables every few seconds to show relationships between sepal and petal measurements. Each species—setosa, versicolor, and virginica—appears as a distinct color (skyblue, lightgreen, orange) with a legend and axis labels updated dynamically. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `setInterval` to re-render the SVG animation, with data loaded via the `csv` function from a GitHub-hosted CSV file.

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.