Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This visualization presents a reusable scatter plot of the Iris dataset, dynamically cycling through four numeric attributes for the x-axis while keeping sepal length fixed on the y-axis. Using D3.js v6 with SVG rendering, it updates every two seconds via `setInterval` and a configurable `scatterPlot` function that leverages `scaleLinear`, `axisBottom`, and `axisLeft`. The plot reads data from a cleaned CSV file and animates transitions smoothly. The code demonstrates a modular chart pattern, highlighting how D3’s data joins and selections handle real-time updates.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed