ð Public
Fork of Animated Reusable D3 Scatter Plot
This animated scatter plot cycles through the numeric columns of the Iris dataset, plotting each one against the final column (petal width) on a full-screen SVG canvas. The visualization updates every three seconds, transitioning points and axes smoothly over one second. Built with D3 v6, the code uses `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `transition` to animate marks, axis labels, and titles, while a reusable `scatterPlot` component manages the chart's state and updates.
AI-generated descriptionRe-usable scatter plot that shows horsepower of the cars vs their weight.
Uses cars.csv dataset
MIT Licensed
Comments
Sign in to join the discussion.