Skip to main content
100%

ACTIVITY 7 TUTORIAL-1

✓ Published0🌍 Public
Ssathvikavancha@my.unt.edu
Last edited Nov 5, 2024
Created on Nov 5, 2024

This animated scatter plot visualizes the Iris flower dataset, cycling through different feature combinations on the x-axis while mapping species to color. Built with D3.js v6, it uses the reusable `scatterPlot` module with `scaleLinear`, `axisLeft`, and `axisBottom` to render axes. The `setInterval` call updates the x-value binding every few seconds, while SVG circles are joined and re-positioned. The code loads CSV data via `d3.csv` and demonstrates ES6 module imports, with custom styling for legends, labels, and the title.

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