Animated scatter plot Charts
✓ Published0🌍 Public
This example visualizes the Iris dataset as an animated scatter plot that cycles through different feature pairs every second. Circles represent individual flowers, with size encoding petal width and color distinguishing species. Using D3.js v6, the chart leverages reusable chart patterns from a custom `scatterPlot` function, employing `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `transition` for smooth updates. The animation transitions circle positions and axes over 750 milliseconds as the x-axis variable rotates among four measurement columns.
AI-generated descriptionA scatterplot with Towards Reusable Charts patterns
MIT Licensed