Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example displays the Iris Dataset as an animated scatter plot, cycling through four different feature combinations every two seconds. The visualization is constructed using D3.js version 6.7, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map data values to SVG circle positions. The plot is rendered as a full-window SVG, with data loaded from a CSV file hosted on GitHub. A reusable `scatterPlot` charting function encapsulates the rendering logic, allowing dynamic updates of the x-axis mapping without rebuilding the entire visualization.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed