Skip to main content
100%

Activity 7 Practice

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This interactive iris scatterplot cycles through flower measurements on the x-axis using a `setInterval`. It loads CSV data from a GitHub gist and uses `d3.csv` for parsing, `scaleLinear` and `d3.axisBottom`/`axisLeft` from D3 6.7.0 to build axes. A custom ES6 module `scatterPlot` structures the reusable plot, while circles are colored by species (setosa, versicolor, virginica). The SVG animation rotates axes across petal and sepal dimensions, with dynamic axis labels, a legend, and a title rendered via `d3.select` and `.append`.

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