Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This visualization displays the Iris dataset as an animated scatter plot, cycling through different feature pairs every two seconds. The plot reuses a configurable scatter plot module, demonstrating how to build reusable charts with D3 v6. It uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data to SVG circles. The animation updates the x-value accessor via `setInterval`, re-rendering the chart with smooth transitions. The code also implements a custom square symbol, though it is not actively used in the final rendering.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed