Fork of Fork of Reusable D3 Scatter Plot
✓ Published1🌍 Public
This animated scatter plot visualizes the Iris flower dataset across four measurable attributes: petal width, sepal width, petal length, and sepal length. Using D3’s scaleLinear, axisBottom, and axisLeft functions, it renders data points as circles in an SVG canvas, with axes updated every two seconds as the x-axis variable cycles through the dataset columns. The chart is built as a reusable function via a scatterPlot closure, adapting to the browser window’s dimensions and drawing on the CSV data loaded with d3.csv.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed