Skip to main content
100%

Iris Scatter Plot

✓ Published0🌍 Public
SSharon Lin
Last edited Sep 15, 2024
Created on Sep 15, 2024

This interactive scatter plot visualizes the classic Iris dataset, plotting sepal and petal measurements against each other. Users select the axes from dropdown menus, and the points animate between configurations using D3 transitions. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for axes, `d3.axisLeft` and `d3.axisBottom` for ticks, and color-coded circles by species. The code also leverages D3’s data join pattern and transition methods to smoothly update the scatter plot when axis selections change.

AI-generated description
MIT Licensed

Similar vizzes