Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example presents a scatter plot of the Iris dataset, rotating through four numeric attributes as the x-axis variable on a two-second interval, with the y-axis fixed to sepal length. The plot animates smoothly by repeatedly invoking a reusable `scatterPlot` function, which uses D3’s scaleLinear, extent, axisLeft, and axisBottom to render axes and circles. Data is loaded from a GitHub Gist via `d3.csv`, with parsing of numeric columns, and the visualization is drawn as SVG with a full-window canvas, featuring a custom font and no user interaction.
AI-generated descriptionMIT Licensed