Fork of Fork of reusable D3 Scatter Plot (animated 2)
✓ Published1🌍 Public
PPeiyang Li
Last edited Apr 22, 2023
Created on Apr 22, 2023
Forked from Fork of reusable D3 Scatter Plot (animated)
This animated scatter plot displays the Iris flower dataset, cycling through four measured attributes (petal width, sepal width, petal length, and sepal length) on the x-axis every six seconds. Built with React and D3 v7, it uses a reusable `scatterPlot` module with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. Circles transition smoothly via `transition().duration(1000)` with staggered delays, while axes animate concurrently. Data loads from a CSV via `d3.csv` and renders as SVG with D3’s data join and enter/update/exit pattern.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed