Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Ppardha1411
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, using D3 to display sepal and petal measurements colored by species. The view cycles through four attribute pairs on the x-axis every few seconds, updating axes via d3.axisBottom and d3.axisLeft while circles are redrawn using d3.scaleLinear and extent. A custom legend and labels are added as SVG text elements, with data loaded asynchronously via d3.csv from a remote gist.

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