Skip to main content
100%

HW1

✓ Published2🌍 Public
Aanna960073@gmail.com
Last edited Sep 14, 2024
Created on Sep 8, 2024

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
MIT Licensed

Similar vizzes