Skip to main content
100%

Pie chart

✓ Published0🌍 Public
DDouglas mochama
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from Activity 9

An animated scatter plot of the Iris dataset cycles through four feature pairs every few seconds, coloring each species—setosa, versicolor, and virginica—with distinct hues. The visualization loads D3 v6 from UNPKG and builds the chart via a reusable `scatterPlot` module using `scaleLinear`, `axisLeft`, and `axisBottom`. SVG circles update their x-axis attribute in a `setInterval` loop, while text labels and a legend are re-rendered dynamically. The example demonstrates local ES6 module imports and data parsing from a CSV URL.

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