Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tut

Public visualization

Viewing a saved revision (read-only)

48a1de361fbc494295c1996e742bb4e8

Tut

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

This animated scatter plot cycles through the Iris dataset, displaying different sepal and petal measurements on the x-axis while petal width and sepal length appear on the y-axis. It uses D3’s scaleLinear, axisLeft, and axisBottom to generate axes and a custom scatterPlot function to render circles. The SVG visualization updates every few seconds via setInterval, re-drawing the chart with new data columns. Points are colored by species—setosa in skyblue, versicolor in lightgreen, and virginica in orange—with a legend and title added dynamically. Data comes from a remote 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.