Skip to main content
100%

Fork of Animated Reusable D3 Scatter Plot

✓ Published1🌍 Public
Rrallabandisushen@gmail.com
Last edited Mar 30, 2023
Created on Mar 27, 2023

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 description

Re-usable scatter plot that shows horsepower of the cars vs their weight.

Uses cars.csv dataset

MIT Licensed

Similar vizzes