1
This interactive scatter plot visualizes the classic Iris dataset, allowing users to dynamically explore relationships between sepal and petal measurements. The D3.js visualization renders circles colored by species, with dropdown menus to switch the variables mapped to the X and Y axes. Using D3's `scaleLinear`, `axisBottom`, `axisLeft`, and `transition`, the plot smoothly animates data points between configurations when selections change. The legend and axis labels update dynamically based on the user's chosen attributes.