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)

6485e112dcf84b8ebe1fd53c2f199db2

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Ggeethanjalikotaru
Last edited Mar 25, 2023
Created on Mar 24, 2023

This fork of a reusable D3 scatter plot animates through the Iris Dataset, cycling the x-axis between petal width, sepal width, petal length, and sepal length every two seconds. The visualization uses d3.scaleLinear with extent to map data to positions, d3.axisLeft and d3.axisBottom for axes, and d3.selectAll with a join to update circle elements. The reusable chart pattern from Bostock’s “Towards Reusable Charts” exposes width, height, data, margin, and radius setters. Iris measurements are loaded via d3.csv and parsed as numbers.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.