Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment -2

Public visualization

Viewing a saved revision (read-only)

147836b63ea3432b81c2a2f3d2a0a308

Assignment -2

0 stars1🌍 Public
Jjangalaupender@my.unt.edu
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This animated scatterplot explores the classic Iris dataset, cycling through different sepal and petal measurements on the x-axis while keeping sepal length on the y-axis. Each point is colored by species, with a fixed legend and color scheme. The visualization uses D3.js, employing `scaleLinear`, `axisLeft`, and `axisBottom` from the D3 library to construct the plot. SVG rendering and a `setInterval` loop drive the animations, swapping the x-axis variable every few seconds to reveal different relationships in the data.

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.