Skip to main content
100%

Assignment2

✓ Published0🌍 Public
VVishnu Mallampalli
Last edited Jul 8, 2024
Created on Jul 8, 2024
Forked from Hello VizHub

This example presents an interactive scatterplot of the Iris dataset, cycling through different flower measurements on the x-axis every few seconds. The visualization colors each of the three species—setosa, versicolor, and virginica—with distinct hues and includes a legend with labeled color swatches. Users see dynamically updated axes and titles as the displayed variable changes. The code loads data from a GitHub-hosted CSV and uses D3 v5’s `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `selectAll` with `join` to render animated SVG circles.

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