Scatter Plot with Menus
This interactive scatter plot displays fuel economy data from a car dataset, allowing users to explore relationships between variables like horsepower, weight, and acceleration. The visualization features two dropdown menus that dynamically change which column is plotted on the x and y axes. The chart is rendered as an SVG using D3’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs, with red semi-transparent circles for data points. A custom `dropdownMenu` module handles the menu interactions, triggering re-renders when selections change.