Scatter Plot with Menus
A scatter plot displays material quantity on the x-axis against a selectable environmental indicator (PENRT, GWP, or AP) on the y-axis, with circle size encoding petal width and color encoding data point ID. The visualization uses React with SVG rendering, leveraging d3-scale for linear and ordinal scales, d3-scale-chromatic for the color scheme, and a custom Dropdown component to switch y-axis attributes. A button toggles between two hardcoded datasets with tooltips showing exact values.