Reusable D3 Scatter Plot
✓ Published2🌍 Public
This interactive scatter plot animates through the Iris Dataset, cycling the x-axis between Height, Weight, and Age while the y-axis remains Age. Data points are colored by Gender, with circles rendered in SVG and updated every two seconds. The visualization is built using D3 v6, leveraging reusable chart patterns with scaleLinear, axisLeft, axisBottom, and join logic. A legend and axis labels are dynamically appended, and the code demonstrates modular chart composition through the `scatterPlot` factory function.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed