Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This interactive visualization cycles through four attributes of the Iris dataset, displaying a scatter plot that updates every two seconds. Built as a reusable D3 chart, the code uses `d3.scaleLinear`, `d3.extent`, `d3.axisLeft`, and `d3.axisBottom` to render axes and circles via SVG. The x-axis switches between petal width, sepal width, petal length, and sepal length while the y-axis remains fixed to sepal length. Data loads from a remote CSV using `d3.csv`, with the animation driven by `setInterval` and `svg.call(plot)`.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed