Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7-1 Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

30037129d3c141c98259dca3d1ca9e2f

Fork of ICE 7-1 Reusable Scatter Plot

0 stars0🌍 Public
KKarnisrikanth
Last edited Mar 26, 2023
Created on Mar 26, 2023

This interactive scatter plot visualizes the Iris dataset, plotting petal width against sepal length. It animates through all four numeric measurements by updating the x-axis every ten seconds, cycling through petal_width, sepal_width, petal_length, and sepal_length. The plot uses D3 v6's `scaleLinear`, `scaleOrdinal`, and `axisBottom` APIs to render SVG symbols, with distinct shapes and colors for each species. Data is loaded from a CSV file via `d3.csv`, and the visualization updates dynamically by re-calling the scatter plot function with new x-value mappings.

AI-generated description