Animated D3 Scatter Plot including species
This animated scatter plot, built with React and D3, visualizes the classic Iris flower dataset. Users can dynamically select which quantitative measurements (sepal length/width, petal length/width) or the categorical species label to map to the x and y axes via interactive dropdown menus. The visualization employs SVG circles with a 20% opacity, and when axes are changed, the points smoothly transition to their new positions over a one-second duration using D3's `transition` and staggered delays. The code uses D3 modules including `scaleLinear`, `scalePoint`, `axisLeft`, `axisBottom`, and `extent` to handle scaling, axes, and data domains, with data loaded from a GitHub-hosted CSV file.