Skip to main content
100%

rao

✓ Published0🌍 Public
RRakshithaRao27
Last edited Mar 27, 2022
Created on Mar 27, 2022

This animated scatter plot visualizes the Iris dataset, cycling through four different variable pairs (petal width, sepal width, petal length, sepal length) every two seconds. Each point encodes species via color, while the initial rendering uses rectangles with varying rx and ry values rather than uniform circles. Built with D3.js, the visualization uses scaleLinear, scaleOrdinal, axisLeft, and axisBottom within a reusable scatterPlot function. The animation is driven by setInterval, while data loading relies on d3.csv. SVG rendering updates axes and marks dynamically as the selected dimensions change.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes