Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable_D3_Scatter_Plot

Public visualization

Viewing a saved revision (read-only)

76d36fd37f7b45cc92d930ff8a2a5a18

Reusable_D3_Scatter_Plot

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

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 while the y-axis remains fixed on sepal length. Built with d3.scaleLinear, axisLeft, and axisBottom, the chart uses SVG circles and a setInterval-driven re-render to update axes and marks. The data loads via d3.csv from a GitHub Gist.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.