Scatter Plot with Menus
✓ Published0🌍 Public
This scatter plot displays the relationship between car weight and various selectable attributes, including horsepower, from the auto-mpg dataset. A dropdown menu, built using D3's select and append methods, lets users switch the x-axis column, triggering a re-render. The visualization uses D3's scaleLinear, axisBottom, axisLeft, and extent functions for scaling and axes, rendering circles as SVG elements within a chart that includes grid lines and labeled axes.
AI-generated descriptionMIT Licensed