Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example shows a reusable scatter plot of the Iris dataset, cycling through four measurement columns every two seconds. It animates the x-axis mapping while keeping sepal length on the y-axis. The chart uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `csv` for data loading. A custom `scatterPlot` function builds the SVG, and circles transition between positions as the x-value changes. The visualization fills the viewport and applies styling from the Share Tech font.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed