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)

1b262119984042059ac9a93ba9d608ad

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Mmahee0725
Last edited Jul 2, 2022
Created on Jul 2, 2022

This fork of a reusable D3 scatter plot visualizes the Iris Dataset, revealing relationships between measurements like petal width and sepal length. It cycles through four column pairs every two seconds, animating the x-axis and repositioning circles via setInterval. The chart uses d3.scaleLinear for scaling, d3.axisLeft and d3.axisBottom for axes, and d3.selectAll with data joins to update SVG circles. The code loads CSV data via d3.csv and applies a custom margin and radius, with the full viewport as the rendering area.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.