Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
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 descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed