🌍 Public
Viewing a saved revision (read-only)
1f80cf1edd7a452a85b95103fe8a5995
Making Car Scatter Plat with menu
This interactive scatter plot visualizes the relationship between vehicle weight and horsepower using the auto-mpg dataset. A dropdown menu allows users to select which column from the data serves as the x-axis variable, dynamically updating the visualization. Built with D3 v5, the chart uses SVG rendering and a reusable `dropdownMenu` component, employing `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct axes and plot circles with a fixed radius. The scatter plot component handles data transformation and redrawing on menu selection.
AI-generated description