Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 9

Public visualization

Task 9

0 stars0🌍 Public
Cchintamanenithp@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This animated scatter plot cycles through different pairings of the Iris flower dataset's four measurements (petal width, sepal width, petal length, sepal length) on the x-axis while sepal length is used for the y-axis. Points are colored by species (setosa, versicolor, virginica) with a custom legend. The visualization uses D3 v6 APIs such as `csv`, `scaleLinear`, `axisBottom`, and `axisLeft` within a reusable `scatterPlot` module, updating axes and circles via `setInterval`. Data is loaded from a raw GitHub CSV URL, and styling is applied with CSS.

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.

Comments

Sign in to join the discussion.

MIT Licensed