🌍 Public
Viewing a saved revision (read-only)
5778b4016b6d43138adefcb74d0b29c8
Pie chart
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.