Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Cchakritha06
Last edited Jul 1, 2022
Created on Jul 1, 2022

This example visualizes the Iris Dataset as an animated scatter plot that cycles through different variable pairings every two seconds. The plot uses d3’s `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map petal width, sepal width, petal length, and sepal length onto x- and y-axes. Circles are rendered in SVG and updated via `setInterval`, with each transition re-binding data and re-drawing axes through a reusable chart function. The interface fills the browser window and uses the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes