Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
GGogineni44
Last edited Mar 27, 2023
Created on Mar 27, 2023

This example presents a scatter plot of the Iris dataset, with axes for sepal length and petal width. The visualization cycles through different data columns every two seconds, updating the x-axis and circle positions via a `setInterval` callback. It is built with D3 v6, using `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, and a reusable chart function pattern. The SVG rendering includes animated transitions as the data mapping changes.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes