Skip to main content
100%

Fork of Fork of fork of iCE - 7 Reusable Scatter Plot

✓ Published1🌍 Public
DDivyaVellanki
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example shows an animated scatter plot of the Iris dataset, cycling through different pairs of flower measurements every two seconds. Data points are colored by species (blue, red, yellow) and rendered as SVG circles with white strokes. The visualization uses D3 v6 modules including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to compute scales and draw axes, while a reusable `scatterPlot` function manages the chart configuration and updates. The code loads data from a CSV file hosted on GitHub and animates by changing the x-axis variable in a `setInterval` loop.

AI-generated description
MIT Licensed

Similar vizzes