Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-9

Public visualization

Task-9

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

This animated scatterplot cycles through the four Iris flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis, colored by species. Built with D3.js (v6.7.0), it uses a reusable `scatterPlot` module with `scaleLinear`, `axisLeft`, and `axisBottom` to render axes. Data loads via `d3.csv` from a GitHub gist. A `setInterval` updates the x-value mapping, while static SVG circles, legend points, and rotated axis labels remain visible.

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