Skip to main content
100%

Activity_7

✓ Published0🌍 Public
SSai Sandhya Nannapaneni
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This animated scatter plot visualizes the Iris dataset, showing four features (petal and sepal length and width) mapped to x/y axes with points colored by species. It cycles through different feature combinations on the x-axis using `setInterval`, with axes and labels updating dynamically. The example uses D3 v6 modules (`scaleLinear`, `axisLeft`, `axisBottom`, `csv`) and a reusable scatter plot component pattern with SVG rendering. A custom color legend distinguishes iris species, and the chart includes rotated axis labels and a 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