Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
AArefa Patwary
Last edited Mar 23, 2022
Created on Mar 23, 2022

This example visualizes the Iris dataset as an animated scatter plot, cycling through four measurements on the x-axis while keeping sepal length on the y-axis. The plot updates every two seconds, re-scaling the axis and repositioning the circles. It uses D3 v6’s `csv` for data loading, `scaleLinear` for axes, and a reusable `scatterPlot` module with a fluent interface. SVG rendering drives the animation, with axis and circle elements dynamically joined and updated.

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