Skip to main content
100%

Activity1

✓ Published0🌍 Public
Llokesh kautharapu
Last edited Jul 12, 2024
Created on Jul 12, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the classic Iris dataset, cycling through different flower measurements on the x-axis—petal width, sepal width, petal length, and sepal length—while keeping petal width on the y-axis. It uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, and a `setInterval` loop to update the plot’s x-value accessor. Data is loaded via `d3.csv` from a GitHub gist, with points colored by species (setosa, versicolor, virginica). The visualization includes a custom legend and title, demonstrating reusable chart components with ES6 module imports.

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.
MIT Licensed

Similar vizzes