Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
NNiharika-Guthikonda
Last edited Mar 24, 2023
Created on Mar 24, 2023

This example animates through scatter plots of the Iris dataset, cycling between four measured variables on the x-axis every two seconds. A reusable chart function built with D3 v6 encodes data points as SVG circles, with axes generated by `axisLeft` and `axisBottom`. The code fetches the dataset via `csv` and updates the x-scale through a `setInterval` loop, demonstrating a modular chart pattern.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes