🌍 Public
Viewing a saved revision (read-only)
f436185aeb604d3199b9a56241105d58
HW1
This interactive scatter plot visualizes the Iris flower dataset, encoding the three species—setosa, versicolor, and virginica—as distinct colors. Users can dynamically select any two of the four flower measurements for the x- and y-axes using radio buttons, and the chart recalculates its linear scales and redraws the points with updated axis labels. Built with D3.js v4, the visualization uses `d3.csv` to load the data, `d3.scaleLinear` for axis mapping, and `d3.axisBottom` and `d3.axisLeft` to render the axes. The SVG rendering includes light grey grid lines and a custom legend near the top.
AI-generated description