Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Sshailajat1998@gmail.com
Last edited Mar 26, 2024
Created on Mar 26, 2024

This interactive scatter plot cycles through four columns of the classic Iris flower dataset, displaying different petal and sepal measurements every two seconds. Using D3.js version 6, the visualization builds a reusable chart component with animated transitions between axes and data points. The code employs scaleLinear, extent, and axis functions to map the quantitative variables, while the Iris dataset is loaded via d3.csv. As the selected x-value changes, the plot updates smoothly, with circles representing individual flower specimens and labeled axes reflecting the current measurement pair.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes