Making Car Scatter Plat with menu
✓ Published1🌍 Public
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 descriptionMIT Licensed