Scatter Plot with Menus
✓ Published0🌍 Public
This interactive scatter plot displays relationships between attributes of cars from the auto-mpg dataset, with dropdown menus allowing the user to select which columns appear on the x- and y-axes. The visualization updates smoothly with animated transitions, as circles grow from the center to their new positions when a menu selection changes. Built with D3 v5, the example uses reusable functions for the dropdown menus and scatter plot, leveraging d3.scaleLinear, d3.extent, d3.axisBottom, and d3.axisLeft to render the SVG axes and data points.
AI-generated descriptionMIT Licensed