🌍 Public
Viewing a saved revision (read-only)
74cc7ce56caa43c7b2b01d5830475d94
T9 Q1
This animated scatter plot visualizes the Iris dataset, cycling through four feature combinations (petal width, sepal width, petal length, and sepal length) on the x-axis while plotting sepal length on the y-axis. Points are color-coded by species (setosa, versicolor, virginica), with a legend and title. The visualization uses D3.js APIs including `scaleLinear`, `axisLeft`, `axisBottom`, and the `join` method for efficient circle updates. It loads CSV data from a remote URL via `d3.csv`, renders as an SVG, and updates axes and labels on a 2-second interval via `setInterval`.
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.