Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published1🌍 Public
LLakshmanRangisetti
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This interactive scatter plot animates through different Iris flower measurements, cycling the x-axis between petal width, sepal width, petal length, and sepal length every few seconds. It uses D3 v6 to load CSV data asynchronously, render SVG circles colored by species, and update scales and axes via a reusable `scatterPlot` module. The visualization includes axis labels, a species legend, and a title, demonstrating dynamic data binding with `selectAll`/`join` and interval-driven transitions.

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