Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example visualizes the Iris Dataset as a scatter plot, cycling through different pairings of sepal and petal measurements every two seconds to reveal correlations. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the data to SVG circles, while a reusable chart function encapsulates the rendering logic. The plot animates by updating the x-axis value and re-invoking the chart, with axes and points redrawn dynamically.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed