Skip to main content
100%

Fork of Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
RRadhakrishna246
Last edited Mar 23, 2022
Created on Mar 23, 2022

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes