Scatter Plot w/ menus
✓ Published1🌍 Public
This example shows a scatter plot of car horsepower versus weight, with a dropdown menu that lets users select among options A, B, and C, though the menu does not yet filter the data. The visualization uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to render axes and gridlines, with SVG circles for data points colored red and semi-transparent. Data comes from a CSV of auto-mpg records loaded via `d3.csv`, and the menu is built with a custom `dropdownMenu` module that appends a select element.
AI-generated descriptionMIT Licensed