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)

d5f4fb467ea442b0b8c91976290002a2

Fork of Reusable D3 Scatter Plot

0 stars1🌍 Public
RRupeshGandham
Last edited Jun 30, 2022
Created on Jun 30, 2022

This interactive scatter plot presents the Iris Dataset, allowing viewers to explore relationships between different flower measurements. The visualization cycles through four variable pairings every two seconds, shifting the x-axis between petal width, sepal width, petal length, and sepal length while the y-axis remains sepal length. Built with D3 v3, it employs a reusable scatter plot component that uses `d3.scaleLinear` for scaling, `d3.extent` for domains, and `d3.axisLeft` and `d3.axisBottom` for axes. The SVG rendering animates data point positions using D3's selection join pattern with the `setInterval` function.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.