Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Question 1

Public visualization

Viewing a saved revision (read-only)

9c4e7aa7012d4ed1a204cd5f6ba2c73a

Activity 8 Question 1

0 stars1🌍 Public
MMichael Biancardi
Last edited Jul 5, 2023
Created on Jul 5, 2023
Forked from Hello VizHub

This animated scatterplot displays the Iris dataset, showing petal and sepal measurements as colored circles representing species. Using D3 version 6.7.0 loaded via UNPKG, the visualization cycles through four different axis assignments every five seconds, alternating which flower dimensions are plotted. The code imports `csv`, `select`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` from D3, along with a custom `scatterPlot` module. Rendered as an SVG animation, it includes a color legend and dynamically updates axis labels to reflect the current measurement pair.

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.