Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Reusable D3 Scatter Plot

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed