Fork of Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example adapts a reusable D3 scatter plot to visualize soccer statistics, cycling through three different variable pairings every three seconds. It uses `d3.csv` to load a dataset containing goals for and against, wins, draws, losses, and points. The animation smoothly updates the plot's axes and circle positions by re-binding data and calling `axisLeft` and `axisBottom` within a setInterval loop. The SVG circles are rendered with a fixed radius, and the chart adjusts to the full window size.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed