Scatter plot with menus
✓ Published0🌍 Public
A scatter plot with dropdown menus allows users to explore relationships between different columns of an automotive dataset. The plot visualizes the auto-mpg dataset loaded from a CSV file, with selectable X and Y axes. D3's `scaleLinear` and `extent` functions compute the axis scales, while `dropdownMenu` components built with D3's selection API manage axis column choices. The scatter plot uses SVG circles animated with a 2-second staggered transition, and axes are rendered using `axisBottom` and `axisLeft` with tick lines and labels.
AI-generated descriptionexport const dropdownMenu = (selection, props) =>{ const { options } = props; }
MIT Licensed