Fork of ICE - 7 Reusable Scatter Plot Maanas Katta
✓ Published0🌍 Public
SSheshidharreddy
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
This example shows an animated scatter plot of the Iris dataset, cycling through four numeric attributes every two seconds. Each point is colored by species (blue, red, or yellow). The visualization uses D3 version 6 features, including `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` to map data coordinates. The reusable `scatterPlot` function updates the x-axis and circle positions via `setInterval`, rendering in SVG on a black background with a white axis and labels.
AI-generated descriptionMIT Licensed