Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
MM Hema
Last edited Mar 27, 2024
Created on Mar 27, 2024

This interactive scatter plot visualizes the Iris Dataset, cycling through four different x-axis variables (petal width, sepal width, petal length, sepal length) every two seconds to compare against sepal length on the y-axis. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes, while circles are created via a `.join` operation. The visualization demonstrates a reusable chart pattern where the same plot function is re-invoked with new data mappings, producing an animated tour of the dataset's dimensions.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes