Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
NNagateja99
Last edited Jul 13, 2023
Created on Jul 13, 2023
Forked from Hello VizHub

An animated scatter plot cycles through different x-axis variables, plotting iris flower measurements of petal and sepal length and width. The visualization uses D3.js to create SVG circles, coloring each point by species and displaying a corresponding legend. Data is loaded from a CSV file via `d3.csv`. The plot updates at intervals, rotating which column appears on the x-axis while keeping sepal length fixed on the y-axis, all rendered with dynamic axes and labels.

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