Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TASK-9

Public visualization

Viewing a saved revision (read-only)

dc0ecf69d6484628a35f287909f56bf5

TASK-9

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

This animated scatter plot displays the Iris flower dataset, cycling through different combinations of sepal and petal measurements on the x-axis while keeping sepal length on the y-axis. Points are color-coded by species (setosa, versicolor, virginica) with a fixed legend. Built with D3.js (v6) using reusable chart modules like `scatterPlot`, it employs `scaleLinear`, `axisLeft`, and `axisBottom` for axes, with a `setInterval` updating the x-axis dimension every few seconds. Data loads from a remote CSV via `d3.csv`, and the visualization renders as SVG with circles and 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.