🌍 Public
Viewing a saved revision (read-only)
5bae63e619844d25964593041f355e5a
Scatter Plot
This interactive scatter plot visualizes the Iris dataset, showing the relationship between sepal and petal measurements across three flower species. Users select which measurements to plot on the x and y axes via dropdown menus, with matching options disabled to prevent duplicate axes. The visualization uses D3 v7 with SVG rendering, employing `scaleLinear`, `axisBottom`, `axisLeft`, and `scaleOrdinal` for color-coding species. Each selection change removes the existing graph and calls a `render` function to rebuild the plot with new scales and axes.
AI-generated descriptionA demonstration of how to start using D3 version 6.