Animated D3 Scatter Plot with Menus
✓ Published1🌍 Public
Ppawelsapiecha
Last edited Jan 2, 2023
Created on Jan 2, 2023
This interactive scatter plot visualizes the classic Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting different attributes for the x and y axes via two HTML dropdown menus. Built with React and D3.js, the visualization uses SVG elements and D3’s `transition` API to animate the movement of data points smoothly between states. The plot dynamically updates its axis labels and scales, with each of the 150 flowers represented as a circle, providing a flexible tool for comparing the dataset’s four numerical dimensions.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed