Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

c15efdfcd17e476191c0299d544713f5

Fork of Reusable D3 Scatter Plot

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

This example visualizes the Iris Dataset in a scatter plot where users see the relationship between two measurements. The plot cycles through different x-axis variables every two seconds, animating between petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Built with D3 v6, it uses `scaleLinear` for axes, `axisLeft` and `axisBottom` for ticks, and a reusable chart pattern where `scatterPlot` is configured with method chaining. SVG circles render the data points, animated via `setInterval`.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.