Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Aayodhyanandh
Last edited Mar 24, 2023
Created on Mar 24, 2023

This example shows a reusable scatter plot of the Iris dataset, cycling through four measurement columns every two seconds. It animates the x-axis mapping while keeping sepal length on the y-axis. The chart uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `csv` for data loading. A custom `scatterPlot` function builds the SVG, and circles transition between positions as the x-value changes. The visualization fills the viewport and applies styling from the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes