🌍 Public
Viewing a saved revision (read-only)
e883aa6cdad64218aa075135549b7410
Polished Scatterplot with Menus
This interactive scatterplot lets users explore the classic Iris flower dataset by using dropdown menus to select which measurements to plot on the X and Y axes. The visualization loads data via the `d3.csv` API and renders circles as SVG marks, with axis ticks generated through custom React components. The app, built with React hooks like `useState` and `useEffect`, uses `d3.scaleLinear` and `d3.extent` to map data values to pixel coordinates, while `d3.format` handles tick label formatting. Dropdown selection updates the chart state, redrawing positions and axis labels accordingly.
AI-generated descriptionA program that loads in some data about CSS colors