Scatter Plot with Menus
✓ Published0🌍 Public
This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset. Users can interact with a dropdown menu to select different data columns, though the menu's callback is empty, so selection does not change the plot. The visualization uses D3 v5's `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` APIs to render an SVG chart with red translucent circles. A custom `dropdownMenu` module creates the HTML select element. The chart includes labeled axes and a title.
AI-generated descriptionMIT Licensed