Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
MMounishSeeni
Last edited Mar 25, 2023
Created on Mar 20, 2023

This example presents an animated scatter plot of the Iris dataset, cycling through four flower measurements (petal width, sepal width, petal length, and sepal length) on the x-axis every two seconds while sepal length remains on the y-axis. Built as a reusable chart function, it uses D3 v6 APIs including `csv` for data loading, `scaleLinear` for scales, `axisLeft` and `axisBottom` for axes, and `selectAll` with data joins to update circle positions. The SVG visualization also applies a custom font and full-window sizing.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes