Skip to main content
100%

Reusable Scatter plot Activity 8

✓ Published0🌍 Public
Aaniteshterala2000
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Hello VizHub

This interactive scatter plot explores the classic Iris dataset, showing how flower measurements relate across different species. A set of colored circles represents individual flowers, with colors distinguishing setosa, versicolor, and virginica. Using D3.js, the visualization cycles through different measurement combinations on the x-axis while keeping sepal length on the y-axis, updating every few seconds. The code leverages D3's CSV parsing, scale functions, and axis components to render the dynamic chart, which includes a legend and labels for each species.

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