Skip to main content
100%

Reusable_D3_Scatter_Plot

✓ Published0🌍 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.

MIT Licensed

Similar vizzes